pub struct TracedObject { /* private fields */ }Expand description
An object parsed from a crypt file that also contains debug information in the case of an error.
This is the main interface type for building Cryptic objects. Traced objects can be easily cast to other types while also providing debug information. If you need to handle ambiguous types use CrypticObject which strips away the added debug information.
Trait Implementations§
Source§impl Clone for TracedObject
impl Clone for TracedObject
Source§fn clone(&self) -> TracedObject
fn clone(&self) -> TracedObject
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 Cryptic for TracedObject
impl Cryptic for TracedObject
Source§fn cryptic(object: TracedObject) -> Result<Self, CryptError>
fn cryptic(object: TracedObject) -> Result<Self, CryptError>
Attempts to convert an AST from a crypt file into a desired type. Read more
Source§impl Debug for TracedObject
impl Debug for TracedObject
Source§impl<T, O> TryInto<HashTagged<T, O>> for TracedObject
impl<T, O> TryInto<HashTagged<T, O>> for TracedObject
Source§type Error = CryptError
type Error = CryptError
The type returned in the event of a conversion error.
Source§impl<T, O> TryInto<ListTagged<T, O>> for TracedObject
impl<T, O> TryInto<ListTagged<T, O>> for TracedObject
Source§type Error = CryptError
type Error = CryptError
The type returned in the event of a conversion error.
Source§impl TryInto<String> for TracedObject
impl TryInto<String> for TracedObject
Source§impl<T, O> TryInto<Tagged<T, O>> for TracedObject
impl<T, O> TryInto<Tagged<T, O>> for TracedObject
Source§impl TryInto<bool> for TracedObject
impl TryInto<bool> for TracedObject
Source§impl TryInto<f32> for TracedObject
impl TryInto<f32> for TracedObject
Source§impl TryInto<f64> for TracedObject
impl TryInto<f64> for TracedObject
Source§impl TryInto<i8> for TracedObject
impl TryInto<i8> for TracedObject
Source§impl TryInto<i16> for TracedObject
impl TryInto<i16> for TracedObject
Source§impl TryInto<i32> for TracedObject
impl TryInto<i32> for TracedObject
Source§impl TryInto<i64> for TracedObject
impl TryInto<i64> for TracedObject
Source§impl TryInto<isize> for TracedObject
impl TryInto<isize> for TracedObject
Source§impl TryInto<u8> for TracedObject
impl TryInto<u8> for TracedObject
Source§impl TryInto<u16> for TracedObject
impl TryInto<u16> for TracedObject
Source§impl TryInto<u32> for TracedObject
impl TryInto<u32> for TracedObject
Source§impl TryInto<u64> for TracedObject
impl TryInto<u64> for TracedObject
Auto Trait Implementations§
impl Freeze for TracedObject
impl RefUnwindSafe for TracedObject
impl Send for TracedObject
impl Sync for TracedObject
impl Unpin for TracedObject
impl UnsafeUnpin for TracedObject
impl UnwindSafe for TracedObject
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