pub enum ExceptHandler {
ExceptHandler(ExceptHandlerExceptHandler),
}Expand description
See also excepthandler
Variants§
ExceptHandler(ExceptHandlerExceptHandler)
Implementations§
Source§impl ExceptHandler
impl ExceptHandler
pub const fn is_except_handler(&self) -> bool
pub fn except_handler(self) -> Option<ExceptHandlerExceptHandler>
pub fn expect_except_handler(self) -> ExceptHandlerExceptHandler
pub fn as_except_handler_mut( &mut self, ) -> Option<&mut ExceptHandlerExceptHandler>
pub fn as_except_handler(&self) -> Option<&ExceptHandlerExceptHandler>
Trait Implementations§
Source§impl Clone for ExceptHandler
impl Clone for ExceptHandler
Source§fn clone(&self) -> ExceptHandler
fn clone(&self) -> ExceptHandler
Returns a duplicate 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 ExceptHandler
impl Debug for ExceptHandler
Source§impl<'a> From<&'a ExceptHandler> for AnyNodeRef<'a>
impl<'a> From<&'a ExceptHandler> for AnyNodeRef<'a>
Source§fn from(node: &'a ExceptHandler) -> AnyNodeRef<'a>
fn from(node: &'a ExceptHandler) -> AnyNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for AnyRootNodeRef<'a>
impl<'a> From<&'a ExceptHandler> for AnyRootNodeRef<'a>
Source§fn from(node: &'a ExceptHandler) -> AnyRootNodeRef<'a>
fn from(node: &'a ExceptHandler) -> AnyRootNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for ComparableExceptHandler<'a>
impl<'a> From<&'a ExceptHandler> for ComparableExceptHandler<'a>
Source§fn from(except_handler: &'a ExceptHandler) -> Self
fn from(except_handler: &'a ExceptHandler) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for ExceptHandlerRef<'a>
impl<'a> From<&'a ExceptHandler> for ExceptHandlerRef<'a>
Source§fn from(node: &'a ExceptHandler) -> Self
fn from(node: &'a ExceptHandler) -> Self
Converts to this type from the input type.
Source§impl From<ExceptHandlerExceptHandler> for ExceptHandler
impl From<ExceptHandlerExceptHandler> for ExceptHandler
Source§fn from(node: ExceptHandlerExceptHandler) -> Self
fn from(node: ExceptHandlerExceptHandler) -> Self
Converts to this type from the input type.
Source§impl HasNodeIndex for ExceptHandler
impl HasNodeIndex for ExceptHandler
Source§fn node_index(&self) -> &AtomicNodeIndex
fn node_index(&self) -> &AtomicNodeIndex
Returns the
AtomicNodeIndex for this node.Source§impl PartialEq for ExceptHandler
impl PartialEq for ExceptHandler
Source§impl Ranged for ExceptHandler
impl Ranged for ExceptHandler
Source§impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExceptHandler
impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExceptHandler
impl StructuralPartialEq for ExceptHandler
Auto Trait Implementations§
impl !Freeze for ExceptHandler
impl RefUnwindSafe for ExceptHandler
impl Send for ExceptHandler
impl Sync for ExceptHandler
impl Unpin for ExceptHandler
impl UnsafeUnpin for ExceptHandler
impl UnwindSafe for ExceptHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more