pub struct Stride(pub usize);
Expand description
Distance between individual items in a buffer view, measured in bytes.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stride
impl<'de> Deserialize<'de> for Stride
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Stride
impl PartialEq for Stride
impl Copy for Stride
impl Eq for Stride
impl StructuralPartialEq for Stride
Auto Trait Implementations§
impl Freeze for Stride
impl RefUnwindSafe for Stride
impl Send for Stride
impl Sync for Stride
impl Unpin for Stride
impl UnwindSafe for Stride
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