Struct PointKey
pub struct PointKey {
pub id: &'static str,
pub kind: PointKind,
pub type_id: TypeId,
pub type_name: &'static str,
}Expand description
A point as the erased methods of Bus name it: its id, its kind and
its type, so an implementation refuses one id registered with two
types.
Fields§
§id: &'static strThe point’s id (Point::ID).
kind: PointKindWhat it is for (Point::KIND).
type_id: TypeIdThe point type’s id.
type_name: &'static strThe point type’s name, for messages.
Implementations§
Trait Implementations§
impl Copy for PointKey
impl Eq for PointKey
impl StructuralPartialEq for PointKey
Auto Trait Implementations§
impl Freeze for PointKey
impl RefUnwindSafe for PointKey
impl Send for PointKey
impl Sync for PointKey
impl Unpin for PointKey
impl UnsafeUnpin for PointKey
impl UnwindSafe for PointKey
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