Enum clang::ExceptionSpecification
source · [−]#[repr(C)]
pub enum ExceptionSpecification {
BasicNoexcept,
ComputedNoexcept,
Dynamic,
DynamicAny,
DynamicNone,
Unevaluated,
Uninstantiated,
Unparsed,
NoThrow,
}
Expand description
Indicates the exception specification of a function.
Variants
BasicNoexcept
The function has a basic noexcept
specification.
ComputedNoexcept
The function has a computed noexcept
specification.
Dynamic
The function has a throw(T1, T2)
specification.
DynamicAny
The function has a throw(...)
specification.
DynamicNone
The function has a throw()
specification.
Unevaluated
The function has an exception specification that has not yet been evaluated.
Uninstantiated
The function has an exception specification that has not yet been instantiated.
Unparsed
The function has an exception specification that has not yet been parsed.
NoThrow
The function has a __declspec(nothrow)
specification.
Only produced by libclang
9.0 and later.
Trait Implementations
sourceimpl Clone for ExceptionSpecification
impl Clone for ExceptionSpecification
sourcefn clone(&self) -> ExceptionSpecification
fn clone(&self) -> ExceptionSpecification
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 ExceptionSpecification
impl Debug for ExceptionSpecification
sourceimpl Hash for ExceptionSpecification
impl Hash for ExceptionSpecification
impl Copy for ExceptionSpecification
impl Eq for ExceptionSpecification
impl StructuralEq for ExceptionSpecification
impl StructuralPartialEq for ExceptionSpecification
Auto Trait Implementations
impl RefUnwindSafe for ExceptionSpecification
impl Send for ExceptionSpecification
impl Sync for ExceptionSpecification
impl Unpin for ExceptionSpecification
impl UnwindSafe for ExceptionSpecification
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more