pub struct ChildName {
pub name: LongName,
pub collection: Option<Name>,
}
Expand description
An child moniker locally identifies a child component instance using the name assigned by its parent and its collection (if present). It is a building block for more complex monikers.
The child moniker does not distinguish between instances.
Display notation: “[collection:]name”.
Fields§
§name: LongName
§collection: Option<Name>
Implementations§
Trait Implementations§
source§impl ChildNameBase for ChildName
impl ChildNameBase for ChildName
source§impl Ord for ChildName
impl Ord for ChildName
source§impl PartialEq for ChildName
impl PartialEq for ChildName
source§impl PartialOrd for ChildName
impl PartialOrd for ChildName
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<&str> for ChildName
impl TryFrom<&str> for ChildName
§type Error = MonikerError
type Error = MonikerError
The type returned in the event of a conversion error.
impl Eq for ChildName
impl StructuralPartialEq for ChildName
Auto Trait Implementations§
impl Freeze for ChildName
impl RefUnwindSafe for ChildName
impl Send for ChildName
impl Sync for ChildName
impl Unpin for ChildName
impl UnwindSafe for ChildName
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