pub struct Offset<T: ?Sized> { /* private fields */ }
Trait Implementations
impl<T: ?Sized> Copy for Offset<T>
impl<T: ?Sized> VectorWrite<Offset<T>> for Offset<T>
impl VectorWrite<Offset<str>> for str
impl VectorWrite<Offset<str>> for String
impl<T, P, const N: usize> WriteAs<Offset<[P]>> for [T; N] where
P: Primitive,
T: VectorWrite<P>,
impl<T, P> WriteAs<Offset<[P]>> for [T] where
P: Primitive,
T: VectorWrite<P>,
impl<T, P> WriteAs<Offset<[P]>> for Vec<T> where
P: Primitive,
T: VectorWrite<P>,
impl<T: ?Sized> WriteAs<Offset<T>> for Offset<T>
impl WriteAs<Offset<str>> for str
impl WriteAs<Offset<str>> for String
impl<T, P> WriteAsDefault<Offset<[P]>, ()> for [T] where
P: Primitive,
T: VectorWrite<P>,
impl<T, P> WriteAsDefault<Offset<[P]>, ()> for Vec<T> where
P: Primitive,
T: VectorWrite<P>,
impl WriteAsDefault<Offset<str>, str> for str
impl WriteAsDefault<Offset<str>, str> for String
impl<T: ?Sized> WriteAsOffset<T> for Offset<T>
impl<T, P, const N: usize> WriteAsOptional<Offset<[P]>> for [T; N] where
P: Primitive,
T: VectorWrite<P>,
impl<T, P> WriteAsOptional<Offset<[P]>> for [T] where
P: Primitive,
T: VectorWrite<P>,
impl<T, P> WriteAsOptional<Offset<[P]>> for Vec<T> where
P: Primitive,
T: VectorWrite<P>,
impl<T: ?Sized> WriteAsOptional<Offset<T>> for Offset<T>
impl WriteAsOptional<Offset<str>> for str
impl WriteAsOptional<Offset<str>> for String
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Offset<T> where
T: RefUnwindSafe,
impl<T: ?Sized> Send for Offset<T> where
T: Send,
impl<T: ?Sized> Sync for Offset<T> where
T: Sync,
impl<T: ?Sized> Unpin for Offset<T> where
T: Unpin,
impl<T: ?Sized> UnwindSafe for Offset<T> where
T: UnwindSafe,
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