pub enum ComponentLineKind {
Offers,
Requires,
}Expand description
Which keyword a ComponentLine carries (rsdl reference §3.2).
Variants§
Offers
offers — the line names a service.
Requires
requires — the line names an interface, or an inline-shape service.
Trait Implementations§
Source§impl Clone for ComponentLineKind
impl Clone for ComponentLineKind
impl Copy for ComponentLineKind
Source§impl Debug for ComponentLineKind
impl Debug for ComponentLineKind
impl Eq for ComponentLineKind
Source§impl Hash for ComponentLineKind
impl Hash for ComponentLineKind
Source§impl PartialEq for ComponentLineKind
impl PartialEq for ComponentLineKind
impl StructuralPartialEq for ComponentLineKind
Auto Trait Implementations§
impl Freeze for ComponentLineKind
impl RefUnwindSafe for ComponentLineKind
impl Send for ComponentLineKind
impl Sync for ComponentLineKind
impl Unpin for ComponentLineKind
impl UnsafeUnpin for ComponentLineKind
impl UnwindSafe for ComponentLineKind
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