pub struct Tagged<T, O> {
pub tag: T,
pub object: O,
}Expand description
A custom tagged object parsed from a crypt file.
Fields§
§tag: T§object: OTrait Implementations§
Auto Trait Implementations§
impl<T, O> Freeze for Tagged<T, O>
impl<T, O> RefUnwindSafe for Tagged<T, O>where
T: RefUnwindSafe,
O: RefUnwindSafe,
impl<T, O> Send for Tagged<T, O>
impl<T, O> Sync for Tagged<T, O>
impl<T, O> Unpin for Tagged<T, O>
impl<T, O> UnsafeUnpin for Tagged<T, O>where
T: UnsafeUnpin,
O: UnsafeUnpin,
impl<T, O> UnwindSafe for Tagged<T, O>where
T: UnwindSafe,
O: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Cryptic for T
impl<T> Cryptic for T
Source§fn cryptic(object: TracedObject) -> Result<T, CryptError>
fn cryptic(object: TracedObject) -> Result<T, CryptError>
Attempts to convert an AST from a crypt file into a desired type. Read more