#[repr(C)]pub struct BindingClass(/* private fields */);
Trait Implementations§
Source§impl DerefMut for BindingClass
impl DerefMut for BindingClass
Source§impl IsClassFor for BindingClass
impl IsClassFor for BindingClass
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 BindingClass
impl Deref for BindingClass
Source§type Target = <Object as ObjectType>::RustClassType
type Target = <Object as ObjectType>::RustClassType
The resulting type after dereferencing.
impl Send for BindingClass
impl Sync for BindingClass
Auto Trait Implementations§
impl Freeze for BindingClass
impl RefUnwindSafe for BindingClass
impl Unpin for BindingClass
impl UnwindSafe for BindingClass
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