#[repr(i32)]pub enum CoercionForm {
Undefined = 0,
CoerceExplicitCall = 1,
CoerceExplicitCast = 2,
CoerceImplicitCast = 3,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CoercionForm
impl Clone for CoercionForm
Source§fn clone(&self) -> CoercionForm
fn clone(&self) -> CoercionForm
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 CoercionForm
impl Debug for CoercionForm
Source§impl Default for CoercionForm
impl Default for CoercionForm
Source§fn default() -> CoercionForm
fn default() -> CoercionForm
Returns the “default value” for a type. Read more
Source§impl From<CoercionForm> for i32
impl From<CoercionForm> for i32
Source§fn from(value: CoercionForm) -> i32
fn from(value: CoercionForm) -> i32
Converts to this type from the input type.
Source§impl Hash for CoercionForm
impl Hash for CoercionForm
Source§impl Ord for CoercionForm
impl Ord for CoercionForm
Source§fn cmp(&self, other: &CoercionForm) -> Ordering
fn cmp(&self, other: &CoercionForm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CoercionForm
impl PartialEq for CoercionForm
Source§impl PartialOrd for CoercionForm
impl PartialOrd for CoercionForm
impl Copy for CoercionForm
impl Eq for CoercionForm
impl StructuralPartialEq for CoercionForm
Auto Trait Implementations§
impl Freeze for CoercionForm
impl RefUnwindSafe for CoercionForm
impl Send for CoercionForm
impl Sync for CoercionForm
impl Unpin for CoercionForm
impl UnwindSafe for CoercionForm
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