pub struct TemplateId(/* private fields */);Expand description
Identifies an immutable recipe without retaining its factories or inclusion edges.
Clones share identity. Equality and hashing compare ownership, not structure.
§Examples
See the occurrence example.
Trait Implementations§
Source§impl Clone for TemplateId
impl Clone for TemplateId
Source§impl Debug for TemplateId
impl Debug for TemplateId
impl Eq for TemplateId
Source§impl Hash for TemplateId
impl Hash for TemplateId
Auto Trait Implementations§
impl !Send for TemplateId
impl !Sync for TemplateId
impl Freeze for TemplateId
impl RefUnwindSafe for TemplateId
impl Unpin for TemplateId
impl UnsafeUnpin for TemplateId
impl UnwindSafe for TemplateId
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