Enum cpp_demangle::ast::BuiltinType
source · [−]pub enum BuiltinType {
Standard(StandardBuiltinType),
Extension(SourceName),
}
Expand description
The <builtin-type>
production.
Variants
Standard(StandardBuiltinType)
A standards compliant builtin type.
Extension(SourceName)
A non-standard, vendor extension type.
<builtin-type> ::= u <source-name> # vendor extended type
Trait Implementations
sourceimpl Clone for BuiltinType
impl Clone for BuiltinType
sourcefn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuiltinType
impl Debug for BuiltinType
sourceimpl PartialEq<BuiltinType> for BuiltinType
impl PartialEq<BuiltinType> for BuiltinType
sourcefn eq(&self, other: &BuiltinType) -> bool
fn eq(&self, other: &BuiltinType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuiltinType) -> bool
fn ne(&self, other: &BuiltinType) -> bool
This method tests for !=
.
impl Eq for BuiltinType
impl StructuralEq for BuiltinType
impl StructuralPartialEq for BuiltinType
Auto Trait Implementations
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnwindSafe for BuiltinType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more