[−][src]Struct core_extensions::type_level_bool::True
Represents a type-level true
Trait Implementations
impl<B> BitAnd<B> for True
[src]
type Output = B
The resulting type after applying the &
operator.
fn bitand(self, v: B) -> Self::Output
[src]
impl<B> BitOr<B> for True
[src]
type Output = True
The resulting type after applying the |
operator.
fn bitor(self, _: B) -> Self::Output
[src]
impl<B: Boolean> BitXor<B> for True
[src]
type Output = B::Not
The resulting type after applying the ^
operator.
fn bitxor(self, _: B) -> Self::Output
[src]
impl Boolean for True
[src]
type Not = False
The negation of this type.
const VALUE: bool
[src]
fn if_true<U, F: FnOnce() -> U>(f: F) -> Option<U>
[src]
fn if_false<U, F: FnOnce() -> U>(_: F) -> Option<U>
[src]
impl Clone for True
[src]
impl Copy for True
[src]
impl Debug for True
[src]
impl Default for True
[src]
impl MarkerType for True
[src]
const MTVAL: Self
[src]
fn markertype_ref<'a>() -> &'a Self where
Self: 'a,
[src]
Self: 'a,
fn markertype_val() -> Self
[src]
impl Not for True
[src]
Auto Trait Implementations
impl RefUnwindSafe for True
impl Send for True
impl Sync for True
impl Unpin for True
impl UnwindSafe for True
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The error type returned when the conversion fails.
pub fn try_into(Self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,