pub struct NullUnitGroup<H: HostTypes> { /* private fields */ }Expand description
Resolver-absent default UnitGroup<H>. Implements Component<H> with empty
member slice and zero cardinality.
Trait Implementations§
Source§impl<H: Clone + HostTypes> Clone for NullUnitGroup<H>
impl<H: Clone + HostTypes> Clone for NullUnitGroup<H>
Source§fn clone(&self) -> NullUnitGroup<H>
fn clone(&self) -> NullUnitGroup<H>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<H: HostTypes> Component<H> for NullUnitGroup<H>
impl<H: HostTypes> Component<H> for NullUnitGroup<H>
Source§impl<H: HostTypes> Default for NullUnitGroup<H>
impl<H: HostTypes> Default for NullUnitGroup<H>
Source§impl<H: PartialEq + HostTypes> PartialEq for NullUnitGroup<H>
impl<H: PartialEq + HostTypes> PartialEq for NullUnitGroup<H>
Source§fn eq(&self, other: &NullUnitGroup<H>) -> bool
fn eq(&self, other: &NullUnitGroup<H>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<H: Copy + HostTypes> Copy for NullUnitGroup<H>
impl<H: Eq + HostTypes> Eq for NullUnitGroup<H>
impl<H: HostTypes> StructuralPartialEq for NullUnitGroup<H>
impl<H: HostTypes> UnitGroup<H> for NullUnitGroup<H>
Auto Trait Implementations§
impl<H> Freeze for NullUnitGroup<H>
impl<H> RefUnwindSafe for NullUnitGroup<H>where
H: RefUnwindSafe,
impl<H> Send for NullUnitGroup<H>where
H: Send,
impl<H> Sync for NullUnitGroup<H>where
H: Sync,
impl<H> Unpin for NullUnitGroup<H>where
H: Unpin,
impl<H> UnsafeUnpin for NullUnitGroup<H>
impl<H> UnwindSafe for NullUnitGroup<H>where
H: UnwindSafe,
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