#[repr(C)]pub struct SnippetClass(/* private fields */);
Trait Implementations§
Source§impl Debug for SnippetClass
impl Debug for SnippetClass
Source§impl Deref for SnippetClass
impl Deref for SnippetClass
Source§type Target = <Object as ObjectType>::RustClassType
type Target = <Object as ObjectType>::RustClassType
The resulting type after dereferencing.
Source§impl DerefMut for SnippetClass
impl DerefMut for SnippetClass
Source§impl IsClassFor for SnippetClass
impl IsClassFor for SnippetClass
Source§fn upcast_ref<U>(&self) -> &Uwhere
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn upcast_ref<U>(&self) -> &Uwhere
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
Casts this class to a reference to a parent type’s class.
Source§fn upcast_ref_mut<U>(&mut self) -> &mut Uwhere
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn upcast_ref_mut<U>(&mut self) -> &mut Uwhere
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
Casts this class to a mutable reference to a parent type’s class.
Source§fn downcast_ref<U>(&self) -> Option<&U>
fn downcast_ref<U>(&self) -> Option<&U>
Casts this class to a reference to a child type’s class or
fails if this class is not implementing the child class.
Source§fn downcast_ref_mut<U>(&mut self) -> Option<&mut U>
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U>
Casts this class to a mutable reference to a child type’s class or
fails if this class is not implementing the child class.
impl Send for SnippetClass
impl Sync for SnippetClass
Auto Trait Implementations§
impl Freeze for SnippetClass
impl RefUnwindSafe for SnippetClass
impl Unpin for SnippetClass
impl UnwindSafe for SnippetClass
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