[−][src]Trait gstreamer_check::prelude::IsClassFor
Trait for mapping a class struct type to its corresponding instance type.
Associated Types
type Instance: ObjectType
Corresponding Rust instance type for this class.
Provided methods
fn get_type(&self) -> Type
Get the type id for this class.
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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.
fn upcast_ref_mut<U>(&mut self) -> &mut U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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.
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
Casts this class to a reference to a child type's class or fails if this class is not implementing the child class.
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
Casts this class to a mutable reference to a child type's class or fails if this class is not implementing the child class.
fn from_type(type_: Type) -> Option<ClassRef<Self>>
Gets the class struct corresponding to type_
.
This will return None
if type_
is not a subclass of Self
.
Implementations on Foreign Types
impl IsClassFor for BufferPoolClass
type Instance = BufferPool
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for BusClass
type Instance = Bus
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ObjectClass
type Instance = Object
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for DeviceProviderFactoryClass
type Instance = DeviceProviderFactory
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ProxyPadClass
type Instance = ProxyPad
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for TypeFindFactoryClass
type Instance = TypeFindFactory
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for PluginClass
type Instance = Plugin
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for GhostPadClass
type Instance = GhostPad
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for BinClass
type Instance = Bin
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ElementClass
type Instance = Element
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ElementFactoryClass
type Instance = ElementFactory
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for DeviceProviderClass
type Instance = DeviceProvider
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for PadTemplateClass
type Instance = PadTemplate
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for DeviceMonitorClass
type Instance = DeviceMonitor
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for PadClass
type Instance = Pad
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for SystemClockClass
type Instance = SystemClock
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ClockClass
type Instance = Clock
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for DeviceClass
type Instance = Device
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for PluginFeatureClass
type Instance = PluginFeature
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for PipelineClass
type Instance = Pipeline
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for RegistryClass
type Instance = Registry
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for BindingClass
[src]
type Instance = Binding
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for ObjectClass
[src]
type Instance = Object
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl IsClassFor for InitiallyUnownedClass
[src]
type Instance = InitiallyUnowned
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
Implementors
impl IsClassFor for TestClockClass
type Instance = TestClock
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
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]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,