pub enum SimpleNestedDomain {
Default,
Literal(String),
LiteralToken {
domain: String,
token: u32,
},
VariableToken {
domain: String,
},
}Expand description
A single (non-bit-field) 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 SimpleNestedDomain
impl Clone for SimpleNestedDomain
Source§impl Debug for SimpleNestedDomain
impl Debug for SimpleNestedDomain
Source§impl Default for SimpleNestedDomain
impl Default for SimpleNestedDomain
impl Eq for SimpleNestedDomain
Source§impl From<SimpleNestedDomain> for NestedDomain
impl From<SimpleNestedDomain> for NestedDomain
Source§fn from(domain: SimpleNestedDomain) -> Self
fn from(domain: SimpleNestedDomain) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SimpleNestedDomain
impl PartialEq for SimpleNestedDomain
impl StructuralPartialEq for SimpleNestedDomain
Auto Trait Implementations§
impl Forget for SimpleNestedDomain
impl Freeze for SimpleNestedDomain
impl Move for SimpleNestedDomain
impl RefUnwindSafe for SimpleNestedDomain
impl Send for SimpleNestedDomain
impl Sync for SimpleNestedDomain
impl Unpin for SimpleNestedDomain
impl UnsafeUnpin for SimpleNestedDomain
impl UnwindSafe for SimpleNestedDomain
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