devela::_dep::rkyv::ser

Trait Positional

pub trait Positional {
    // Required method
    fn pos(&self) -> usize ;
}
Available on crate feature dep_rkyv only.
Expand description

A writer that knows its current position.

Required Methods§

fn pos(&self) -> usize

Returns the current position of the writer.

Implementations on Foreign Types§

§

impl<T> Positional for &T
where T: Positional + ?Sized,

§

fn pos(&self) -> usize

§

impl<T> Positional for &mut T
where T: Positional + ?Sized,

§

fn pos(&self) -> usize

Implementors§

§

impl Positional for Vec<u8>

§

impl Positional for Buffer<'_>

§

impl<T, E> Positional for Strategy<T, E>
where T: Positional + ?Sized,

§

impl<W> Positional for IoWriter<W>

§

impl<W, A, S> Positional for Serializer<W, A, S>
where W: Positional,

§

impl<const A: usize> Positional for AlignedVec<A>