Struct ast_demangle::rust_v0::Symbol [−][src]
pub struct Symbol<'a> {
pub version: Option<u64>,
pub path: Rc<Path<'a>>,
pub instantiating_crate: Option<Rc<Path<'a>>>,
}Fields
version: Option<u64>path: Rc<Path<'a>>instantiating_crate: Option<Rc<Path<'a>>>Implementations
Returns an object that implements Display for printing the symbol.
Parses input with Rust
v0 syntax,
returns a tuple that contains a Symbol object and an &str object containing the suffix that is
not part of the the Rust v0 syntax.
Errors
Returns ParseSymbolError if input does not start with a valid prefix with Rust v0 syntax.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Symbol<'a>
impl<'a> UnwindSafe for Symbol<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more