pub struct RootSwCompositionPrototype(/* private fields */);
Expand description
The RootSwCompositionPrototype
is a special kind of SwComponentPrototype
that represents the root of the composition hierarchy
Implementations§
Source§impl RootSwCompositionPrototype
impl RootSwCompositionPrototype
Sourcepub fn composition(&self) -> Option<CompositionSwComponentType>
pub fn composition(&self) -> Option<CompositionSwComponentType>
get the composition that this root component is based on
Trait Implementations§
Source§impl Clone for RootSwCompositionPrototype
impl Clone for RootSwCompositionPrototype
Source§fn clone(&self) -> RootSwCompositionPrototype
fn clone(&self) -> RootSwCompositionPrototype
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RootSwCompositionPrototype
impl Debug for RootSwCompositionPrototype
Source§impl From<RootSwCompositionPrototype> for Element
impl From<RootSwCompositionPrototype> for Element
Source§fn from(val: RootSwCompositionPrototype) -> Self
fn from(val: RootSwCompositionPrototype) -> Self
Converts to this type from the input type.
Source§impl Hash for RootSwCompositionPrototype
impl Hash for RootSwCompositionPrototype
Source§impl TryFrom<Element> for RootSwCompositionPrototype
impl TryFrom<Element> for RootSwCompositionPrototype
impl Eq for RootSwCompositionPrototype
impl StructuralPartialEq for RootSwCompositionPrototype
Auto Trait Implementations§
impl Freeze for RootSwCompositionPrototype
impl !RefUnwindSafe for RootSwCompositionPrototype
impl Send for RootSwCompositionPrototype
impl Sync for RootSwCompositionPrototype
impl Unpin for RootSwCompositionPrototype
impl !UnwindSafe for RootSwCompositionPrototype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.