Struct cranelift_codegen_meta::cdsl::settings::PresetIndex
source · pub(crate) struct PresetIndex(usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for PresetIndex
impl Clone for PresetIndex
source§fn clone(&self) -> PresetIndex
fn clone(&self) -> PresetIndex
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 From<PresetIndex> for PresetType
impl From<PresetIndex> for PresetType
source§fn from(value: PresetIndex) -> Self
fn from(value: PresetIndex) -> Self
Converts to this type from the input type.
source§impl Hash for PresetIndex
impl Hash for PresetIndex
source§impl PartialEq for PresetIndex
impl PartialEq for PresetIndex
source§fn eq(&self, other: &PresetIndex) -> bool
fn eq(&self, other: &PresetIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PresetIndex
impl Eq for PresetIndex
impl StructuralPartialEq for PresetIndex
Auto Trait Implementations§
impl Freeze for PresetIndex
impl RefUnwindSafe for PresetIndex
impl Send for PresetIndex
impl Sync for PresetIndex
impl Unpin for PresetIndex
impl UnwindSafe for PresetIndex
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