pub enum AlignedType {
Aggregate,
Float(AlignedTypeWidth),
Integer(AlignedTypeWidth),
Vector(AlignedTypeWidth),
}
Expand description
An enumeration of alignable non-pointer types.
Variants§
Aggregate
Aggregate types.
Float(AlignedTypeWidth)
Floating point types.
Integer(AlignedTypeWidth)
Integer types.
Vector(AlignedTypeWidth)
Vector types.
Implementations§
Source§impl AlignedType
impl AlignedType
Sourcepub const FLOAT16: AlignedType
pub const FLOAT16: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const FLOAT32: AlignedType
pub const FLOAT32: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const FLOAT64: AlignedType
pub const FLOAT64: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const FLOAT128: AlignedType
pub const FLOAT128: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const INTEGER1: AlignedType
pub const INTEGER1: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const INTEGER8: AlignedType
pub const INTEGER8: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const INTEGER16: AlignedType
pub const INTEGER16: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const INTEGER32: AlignedType
pub const INTEGER32: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Sourcepub const INTEGER64: AlignedType
pub const INTEGER64: AlignedType
A $width bit $name:lower, subject to some alignment rules.
Trait Implementations§
Source§impl Clone for AlignedType
impl Clone for AlignedType
Source§fn clone(&self) -> AlignedType
fn clone(&self) -> AlignedType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlignedType
impl Debug for AlignedType
Source§impl Ord for AlignedType
impl Ord for AlignedType
Source§impl PartialEq for AlignedType
impl PartialEq for AlignedType
Source§impl PartialOrd for AlignedType
impl PartialOrd for AlignedType
impl Copy for AlignedType
impl Eq for AlignedType
impl StructuralPartialEq for AlignedType
Auto Trait Implementations§
impl Freeze for AlignedType
impl RefUnwindSafe for AlignedType
impl Send for AlignedType
impl Sync for AlignedType
impl Unpin for AlignedType
impl UnwindSafe for AlignedType
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