#[repr(C)]pub struct InitiallyUnownedClass(/* private fields */);
Trait Implementations§
Source§impl DerefMut for InitiallyUnownedClass
impl DerefMut for InitiallyUnownedClass
Source§impl IsClassFor for InitiallyUnownedClass
impl IsClassFor for InitiallyUnownedClass
Source§type Instance = InitiallyUnowned
type Instance = InitiallyUnowned
Corresponding Rust instance type for this class.
Source§fn upcast_ref<U: IsClassFor>(&self) -> &U
fn upcast_ref<U: IsClassFor>(&self) -> &U
Casts this class to a reference to a parent type’s class.
Source§fn upcast_ref_mut<U: IsClassFor>(&mut self) -> &mut U
fn upcast_ref_mut<U: IsClassFor>(&mut self) -> &mut U
Casts this class to a mutable reference to a parent type’s class.
Source§fn downcast_ref<U: IsClassFor>(&self) -> Option<&U>
fn downcast_ref<U: IsClassFor>(&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: IsClassFor>(&mut self) -> Option<&mut U>
fn downcast_ref_mut<U: IsClassFor>(&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.
Source§impl Deref for InitiallyUnownedClass
impl Deref for InitiallyUnownedClass
Source§type Target = <Object as ObjectType>::RustClassType
type Target = <Object as ObjectType>::RustClassType
The resulting type after dereferencing.
impl Send for InitiallyUnownedClass
impl Sync for InitiallyUnownedClass
Auto Trait Implementations§
impl Freeze for InitiallyUnownedClass
impl RefUnwindSafe for InitiallyUnownedClass
impl Unpin for InitiallyUnownedClass
impl UnwindSafe for InitiallyUnownedClass
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