pub struct Absent;Expand description
Type-level False.
Trait Implementations§
Source§impl Bool for Absent
impl Bool for Absent
const VALUE: bool = false
Source§type Elif<Then: Bool, Else: Bool> = Else
type Elif<Then: Bool, Else: Bool> = Else
Type-level boolean conditional: Then<T, E> where T, E are Bool.
Returns a type guaranteed to implement Bool.
Source§fn static_dispatch<Then, Else, Output>() -> Outputwhere
Then: StaticMethodImpl<Output>,
Else: StaticMethodImpl<Output>,
fn static_dispatch<Then, Else, Output>() -> Outputwhere
Then: StaticMethodImpl<Output>,
Else: StaticMethodImpl<Output>,
Call a static method based on this boolean value.
If true (Present), calls Then::call().
If false (Absent), calls Else::call().
Source§impl<Then, Else, Output> BoolStaticCall<Then, Else, Output> for Absentwhere
Else: StaticMethodImpl<Output>,
impl<Then, Else, Output> BoolStaticCall<Then, Else, Output> for Absentwhere
Else: StaticMethodImpl<Output>,
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X0> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X0> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X1> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X1> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X2> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X2> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X3> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X3> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X4> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X4> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X5> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X5> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X6> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X6> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X7> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X7> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X8> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X8> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X9> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, X9> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XA> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XA> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XB> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XB> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XC> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XC> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XD> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XD> for Leaf<StoredCap>
Source§impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XE> for Leaf<StoredCap>
impl<NewCap, StoredCap, Depth> LeafCollisionBranch<NewCap, StoredCap, Absent, Depth, XE> for Leaf<StoredCap>
Auto Trait Implementations§
impl Freeze for Absent
impl RefUnwindSafe for Absent
impl Send for Absent
impl Sync for Absent
impl Unpin for Absent
impl UnwindSafe for Absent
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