Struct cranelift_codegen::ir::dynamic_type::DynamicTypeData
source · [−]pub struct DynamicTypeData {
pub base_vector_ty: Type,
pub dynamic_scale: GlobalValue,
}
Expand description
A dynamic type object which has a base vector type and a scaling factor.
Fields
base_vector_ty: Type
Base vector type, this is the minimum size of the type.
dynamic_scale: GlobalValue
The dynamic scaling factor of the base vector type.
Implementations
Trait Implementations
sourceimpl Clone for DynamicTypeData
impl Clone for DynamicTypeData
sourcefn clone(&self) -> DynamicTypeData
fn clone(&self) -> DynamicTypeData
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 Hash for DynamicTypeData
impl Hash for DynamicTypeData
sourceimpl PartialEq<DynamicTypeData> for DynamicTypeData
impl PartialEq<DynamicTypeData> for DynamicTypeData
sourcefn eq(&self, other: &DynamicTypeData) -> bool
fn eq(&self, other: &DynamicTypeData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynamicTypeData) -> bool
fn ne(&self, other: &DynamicTypeData) -> bool
This method tests for !=
.
impl StructuralPartialEq for DynamicTypeData
Auto Trait Implementations
impl RefUnwindSafe for DynamicTypeData
impl Send for DynamicTypeData
impl Sync for DynamicTypeData
impl Unpin for DynamicTypeData
impl UnwindSafe for DynamicTypeData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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