pub struct TemplateKey {
pub namespace: TemplateNamespace,
pub name: TemplateName,
}Fields§
§namespace: TemplateNamespace§name: TemplateNameImplementations§
Source§impl TemplateKey
impl TemplateKey
pub fn new(namespace: TemplateNamespace, name: TemplateName) -> Self
Trait Implementations§
Source§impl Clone for TemplateKey
impl Clone for TemplateKey
Source§fn clone(&self) -> TemplateKey
fn clone(&self) -> TemplateKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TemplateKey
impl Debug for TemplateKey
Source§impl Display for TemplateKey
impl Display for TemplateKey
Source§impl Hash for TemplateKey
impl Hash for TemplateKey
Source§impl Ord for TemplateKey
impl Ord for TemplateKey
Source§fn cmp(&self, other: &TemplateKey) -> Ordering
fn cmp(&self, other: &TemplateKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TemplateKey
impl PartialEq for TemplateKey
Source§impl PartialOrd for TemplateKey
impl PartialOrd for TemplateKey
impl Eq for TemplateKey
impl StructuralPartialEq for TemplateKey
Auto Trait Implementations§
impl Freeze for TemplateKey
impl RefUnwindSafe for TemplateKey
impl Send for TemplateKey
impl Sync for TemplateKey
impl Unpin for TemplateKey
impl UnsafeUnpin for TemplateKey
impl UnwindSafe for TemplateKey
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