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