pub struct Absence {
pub reason: AbsentReason,
pub predicate: Option<PresentWhen>,
}Expand description
Why a value is absent.
Fields§
§reason: AbsentReason§predicate: Option<PresentWhen>The canonical predicate, for predicate_failed.
Trait Implementations§
impl Eq for Absence
impl StructuralPartialEq for Absence
Auto Trait Implementations§
impl Freeze for Absence
impl RefUnwindSafe for Absence
impl Send for Absence
impl Sync for Absence
impl Unpin for Absence
impl UnsafeUnpin for Absence
impl UnwindSafe for Absence
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