Struct erg_compiler::ty::GuardType
source · pub struct GuardType {
pub var: Variable,
pub to: Box<Type>,
}
Fields§
§var: Variable
§to: Box<Type>
Implementations§
Trait Implementations§
source§impl PartialEq<GuardType> for GuardType
impl PartialEq<GuardType> for GuardType
source§impl StructuralEq for GuardType
impl StructuralEq for GuardType
fn structural_eq(&self, other: &Self) -> bool
impl Eq for GuardType
impl StructuralEq for GuardType
impl StructuralPartialEq for GuardType
Auto Trait Implementations§
impl !RefUnwindSafe for GuardType
impl !Send for GuardType
impl !Sync for GuardType
impl Unpin for GuardType
impl !UnwindSafe for GuardType
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