Struct objc2::mutability::Root
source · pub struct Root { /* private fields */ }
Expand description
Marker type for root classes.
This is used for objc2_foundation::NSObject
and
objc2_foundation::NSProxy
, which are the two fundamental types that
all others inherit from.
Functionality that is provided with this:
Trait Implementations§
source§impl Ord for Root
impl Ord for Root
source§impl PartialEq for Root
impl PartialEq for Root
source§impl PartialOrd for Root
impl PartialOrd for Root
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Root
impl Eq for Root
impl Mutability for Root
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl Freeze for Root
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
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