pub enum NestedDomain {
Default,
Literal(String),
LiteralToken {
domain: String,
token: u32,
},
VariableToken {
domain: String,
},
}Expand description
Domain specification for a nested token.
Variants§
Default
Default / not-specified domain (e.g. $#%08x or ${}#%08x).
Literal(String)
A literal domain string (e.g. ${domain}#%08x).
LiteralToken
A literal token that gives the domain string (e.g. ${$#01234567}#%08x or ${${domain}#01234567}#%08x).
Fields
VariableToken
A variable domain token requiring a read from the argument data (e.g. ${$#%08x}#%08x or ${${domain}#%08x}#%08x).
Trait Implementations§
Source§impl Clone for NestedDomain
impl Clone for NestedDomain
Source§fn clone(&self) -> NestedDomain
fn clone(&self) -> NestedDomain
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 moreSource§impl Debug for NestedDomain
impl Debug for NestedDomain
impl Eq for NestedDomain
Source§impl PartialEq for NestedDomain
impl PartialEq for NestedDomain
impl StructuralPartialEq for NestedDomain
Auto Trait Implementations§
impl Freeze for NestedDomain
impl RefUnwindSafe for NestedDomain
impl Send for NestedDomain
impl Sync for NestedDomain
impl Unpin for NestedDomain
impl UnsafeUnpin for NestedDomain
impl UnwindSafe for NestedDomain
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