pub struct ExternalLens<'a, V: ExternalLensValue, const OFFSET: usize> { /* private fields */ }Expand description
Bounds-checked zero-copy byte lens into an external account.
Implementations§
Source§impl<'a, V: ExternalLensValue, const OFFSET: usize> ExternalLens<'a, V, OFFSET>
impl<'a, V: ExternalLensValue, const OFFSET: usize> ExternalLens<'a, V, OFFSET>
Auto Trait Implementations§
impl<'a, V, const OFFSET: usize> !Send for ExternalLens<'a, V, OFFSET>
impl<'a, V, const OFFSET: usize> !Sync for ExternalLens<'a, V, OFFSET>
impl<'a, V, const OFFSET: usize> Freeze for ExternalLens<'a, V, OFFSET>where
PhantomData<V>: Freeze,
impl<'a, V, const OFFSET: usize> RefUnwindSafe for ExternalLens<'a, V, OFFSET>where
PhantomData<V>: RefUnwindSafe,
impl<'a, V, const OFFSET: usize> Unpin for ExternalLens<'a, V, OFFSET>where
PhantomData<V>: Unpin,
impl<'a, V, const OFFSET: usize> UnsafeUnpin for ExternalLens<'a, V, OFFSET>where
PhantomData<V>: UnsafeUnpin,
impl<'a, V, const OFFSET: usize> UnwindSafe for ExternalLens<'a, V, OFFSET>where
PhantomData<V>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more