pub enum AssertKind {
Assert,
AssertUnderscore,
}Expand description
アサーションマクロの種類
Variants§
Trait Implementations§
Source§impl Clone for AssertKind
impl Clone for AssertKind
Source§fn clone(&self) -> AssertKind
fn clone(&self) -> AssertKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssertKind
impl Debug for AssertKind
Source§impl PartialEq for AssertKind
impl PartialEq for AssertKind
Source§fn eq(&self, other: &AssertKind) -> bool
fn eq(&self, other: &AssertKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AssertKind
impl Eq for AssertKind
impl StructuralPartialEq for AssertKind
Auto Trait Implementations§
impl Freeze for AssertKind
impl RefUnwindSafe for AssertKind
impl Send for AssertKind
impl Sync for AssertKind
impl Unpin for AssertKind
impl UnsafeUnpin for AssertKind
impl UnwindSafe for AssertKind
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