Enum cpp_demangle::ast::ExceptionSpec
source · pub enum ExceptionSpec {
NoExcept,
Computed(Expression),
}
Expand description
The <exception-spec>
production.
Variants§
Trait Implementations§
source§impl Clone for ExceptionSpec
impl Clone for ExceptionSpec
source§fn clone(&self) -> ExceptionSpec
fn clone(&self) -> ExceptionSpec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExceptionSpec
impl Debug for ExceptionSpec
source§impl PartialEq<ExceptionSpec> for ExceptionSpec
impl PartialEq<ExceptionSpec> for ExceptionSpec
source§fn eq(&self, other: &ExceptionSpec) -> bool
fn eq(&self, other: &ExceptionSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExceptionSpec
impl StructuralEq for ExceptionSpec
impl StructuralPartialEq for ExceptionSpec
Auto Trait Implementations§
impl RefUnwindSafe for ExceptionSpec
impl Send for ExceptionSpec
impl Sync for ExceptionSpec
impl Unpin for ExceptionSpec
impl UnwindSafe for ExceptionSpec
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