pub struct IdClass { /* private fields */ }Expand description
A category of identifiable objects
All instances should be statically created.
It’s strongly recommended to use the derive to map
classes and identifiable structs. The derive
brings sanity checks and ensure the prefix is [a-zA-Z0-9]+
(the rest of the code makes no assumption other than
a non empty class)
Don’t try to use the same class for two identifiable strucs, instead map the class to the most “natural” struct.
Implementations§
Trait Implementations§
impl Copy for IdClass
Auto Trait Implementations§
impl Freeze for IdClass
impl RefUnwindSafe for IdClass
impl Send for IdClass
impl Sync for IdClass
impl Unpin for IdClass
impl UnwindSafe for IdClass
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