Struct stable_mir::ty::CoercePredicate
source · pub struct CoercePredicate {
pub a: Ty,
pub b: Ty,
}
Fields§
§a: Ty
§b: Ty
Trait Implementations§
source§impl Clone for CoercePredicate
impl Clone for CoercePredicate
source§fn clone(&self) -> CoercePredicate
fn clone(&self) -> CoercePredicate
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 CoercePredicate
impl Debug for CoercePredicate
source§impl PartialEq for CoercePredicate
impl PartialEq for CoercePredicate
source§fn eq(&self, other: &CoercePredicate) -> bool
fn eq(&self, other: &CoercePredicate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoercePredicate
impl StructuralPartialEq for CoercePredicate
Auto Trait Implementations§
impl Freeze for CoercePredicate
impl RefUnwindSafe for CoercePredicate
impl Send for CoercePredicate
impl Sync for CoercePredicate
impl Unpin for CoercePredicate
impl UnwindSafe for CoercePredicate
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes