pub struct Dim1;Expand description
1D dimension.
Trait Implementations§
Source§impl Dimensionable for Dim1
impl Dimensionable for Dim1
Source§const ZERO_OFFSET: Self::Offset = 0
const ZERO_OFFSET: Self::Offset = 0
Zero offset. Read more
Source§type Offset = u32
type Offset = u32
Offset type of a dimension (used to caracterize addition and subtraction of sizes, mostly).
Source§fn height(_: Self::Size) -> u32
fn height(_: Self::Size) -> u32
Height of the associated
Dimensionable::Size. If it doesn’t have one, set it to 1.impl Copy for Dim1
Auto Trait Implementations§
impl Freeze for Dim1
impl RefUnwindSafe for Dim1
impl Send for Dim1
impl Sync for Dim1
impl Unpin for Dim1
impl UnsafeUnpin for Dim1
impl UnwindSafe for Dim1
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