pub(crate) struct VectorType {
base: LaneType,
lanes: u64,
}
Expand description
A concrete SIMD vector type.
A vector type has a lane type which is an instance of LaneType
,
and a positive number of lanes.
Fields§
§base: LaneType
§lanes: u64
Implementations§
Source§impl VectorType
impl VectorType
Trait Implementations§
Source§impl Clone for VectorType
impl Clone for VectorType
Source§fn clone(&self) -> VectorType
fn clone(&self) -> VectorType
Returns a copy 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 VectorType
impl Debug for VectorType
Source§impl Display for VectorType
impl Display for VectorType
Source§impl From<VectorType> for ValueType
impl From<VectorType> for ValueType
Create a ValueType from a given vector type.
Source§fn from(vector: VectorType) -> Self
fn from(vector: VectorType) -> Self
Converts to this type from the input type.
Source§impl Hash for VectorType
impl Hash for VectorType
Source§impl PartialEq for VectorType
impl PartialEq for VectorType
impl Eq for VectorType
impl StructuralPartialEq for VectorType
Auto Trait Implementations§
impl Freeze for VectorType
impl RefUnwindSafe for VectorType
impl Send for VectorType
impl Sync for VectorType
impl Unpin for VectorType
impl UnwindSafe for VectorType
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