pub struct ComponentTag(pub &'static str);Expand description
Typed bus-subscription tag - a static &str label naming the
kind of event a component receives.
Tuple Fields§
§0: &'static strImplementations§
Trait Implementations§
Source§impl Clone for ComponentTag
impl Clone for ComponentTag
Source§fn clone(&self) -> ComponentTag
fn clone(&self) -> ComponentTag
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 moreimpl Copy for ComponentTag
Source§impl Debug for ComponentTag
impl Debug for ComponentTag
Source§impl Display for ComponentTag
impl Display for ComponentTag
impl Eq for ComponentTag
Source§impl Hash for ComponentTag
impl Hash for ComponentTag
Source§impl PartialEq for ComponentTag
impl PartialEq for ComponentTag
Source§fn eq(&self, other: &ComponentTag) -> bool
fn eq(&self, other: &ComponentTag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentTag
Auto Trait Implementations§
impl Freeze for ComponentTag
impl RefUnwindSafe for ComponentTag
impl Send for ComponentTag
impl Sync for ComponentTag
impl Unpin for ComponentTag
impl UnsafeUnpin for ComponentTag
impl UnwindSafe for ComponentTag
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