Struct buffalo::DynamicStructIndexFieldOffset
source · [−]pub struct DynamicStructIndexFieldOffset<I>(pub I)
where
I: DynamicStructIndexType;
Expand description
A FieldValueOffset
is the offset from the start of a struct to the value of a field.
Tuple Fields
0: I
Trait Implementations
sourceimpl<I: Clone> Clone for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: Clone> Clone for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourcefn clone(&self) -> DynamicStructIndexFieldOffset<I>
fn clone(&self) -> DynamicStructIndexFieldOffset<I>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<I: Debug> Debug for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: Debug> Debug for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourceimpl<I> Deref for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I> Deref for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourceimpl<I: Hash> Hash for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: Hash> Hash for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourceimpl<I: PartialEq> PartialEq<DynamicStructIndexFieldOffset<I>> for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: PartialEq> PartialEq<DynamicStructIndexFieldOffset<I>> for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourcefn eq(&self, other: &DynamicStructIndexFieldOffset<I>) -> bool
fn eq(&self, other: &DynamicStructIndexFieldOffset<I>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynamicStructIndexFieldOffset<I>) -> bool
fn ne(&self, other: &DynamicStructIndexFieldOffset<I>) -> bool
This method tests for !=
.
sourceimpl<'a, I> Read<'a> for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<'a, I> Read<'a> for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
sourceimpl<'a, I> StaticSize for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<'a, I> StaticSize for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
const STATIC_SIZE: PointerType
sourceimpl<I> Write for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I> Write for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: Copy> Copy for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I: Eq> Eq for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I> StructuralEq for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
impl<I> StructuralPartialEq for DynamicStructIndexFieldOffset<I> where
I: DynamicStructIndexType,
Auto Trait Implementations
impl<I> RefUnwindSafe for DynamicStructIndexFieldOffset<I> where
I: RefUnwindSafe,
impl<I> Send for DynamicStructIndexFieldOffset<I> where
I: Send,
impl<I> Sync for DynamicStructIndexFieldOffset<I> where
I: Sync,
impl<I> Unpin for DynamicStructIndexFieldOffset<I> where
I: Unpin,
impl<I> UnwindSafe for DynamicStructIndexFieldOffset<I> where
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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