Struct nativeshell::shell::platform::flutter::ViewClass [−][src]
#[repr(C)]pub struct ViewClass(_);
Trait Implementations
type Target = <Container as ObjectType>::RustClassType
type Target = <Container as ObjectType>::RustClassType
The resulting type after dereferencing.
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]Casts this class to a reference to a parent type’s class.
fn upcast_ref_mut<U>(&mut self) -> &mut U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
fn upcast_ref_mut<U>(&mut self) -> &mut U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]Casts this class to a mutable reference to a parent type’s class.
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]Casts this class to a reference to a child type’s class or fails if this class is not implementing the child class. Read more
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]Casts this class to a mutable reference to a child type’s class or fails if this class is not implementing the child class. Read more