Struct capnp::primitive_list::Reader
source · [−]pub struct Reader<'a, T> where
T: PrimitiveElement, { /* private fields */ }
Implementations
sourceimpl<'a, T: PrimitiveElement> Reader<'a, T>
impl<'a, T: PrimitiveElement> Reader<'a, T>
Trait Implementations
sourceimpl<'a, T: Clone> Clone for Reader<'a, T> where
T: PrimitiveElement,
impl<'a, T: Clone> Clone for Reader<'a, T> where
T: PrimitiveElement,
sourceimpl<'a, T: PrimitiveElement> FromPointerReader<'a> for Reader<'a, T>
impl<'a, T: PrimitiveElement> FromPointerReader<'a> for Reader<'a, T>
fn get_from_pointer(
reader: &PointerReader<'a>,
default: Option<&'a [Word]>
) -> Result<Reader<'a, T>>
sourceimpl<'a, T: PrimitiveElement> IndexMove<u32, T> for Reader<'a, T>
impl<'a, T: PrimitiveElement> IndexMove<u32, T> for Reader<'a, T>
fn index_move(&self, index: u32) -> T
sourceimpl<'a, T> IntoInternalListReader<'a> for Reader<'a, T> where
T: PrimitiveElement,
impl<'a, T> IntoInternalListReader<'a> for Reader<'a, T> where
T: PrimitiveElement,
fn into_internal_list_reader(self) -> ListReader<'a>
sourceimpl<'a, T> IntoIterator for Reader<'a, T> where
T: PrimitiveElement,
impl<'a, T> IntoIterator for Reader<'a, T> where
T: PrimitiveElement,
sourceimpl<'a, T> SetPointerBuilder for Reader<'a, T> where
T: PrimitiveElement,
impl<'a, T> SetPointerBuilder for Reader<'a, T> where
T: PrimitiveElement,
fn set_pointer_builder<'b>(
pointer: PointerBuilder<'b>,
value: Reader<'a, T>,
canonicalize: bool
) -> Result<()>
impl<'a, T: Copy> Copy for Reader<'a, T> where
T: PrimitiveElement,
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Reader<'a, T>
impl<'a, T> !Send for Reader<'a, T>
impl<'a, T> !Sync for Reader<'a, T>
impl<'a, T> Unpin for Reader<'a, T> where
T: Unpin,
impl<'a, T> !UnwindSafe for Reader<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more