Enum erg_compiler::ty::Ownership
source · pub enum Ownership {
Owned,
Ref,
RefMut,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Ownership
impl PartialEq for Ownership
impl Copy for Ownership
impl Eq for Ownership
impl StructuralEq for Ownership
impl StructuralPartialEq for Ownership
Auto Trait Implementations§
impl RefUnwindSafe for Ownership
impl Send for Ownership
impl Sync for Ownership
impl Unpin for Ownership
impl UnwindSafe for Ownership
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