Struct partial_const::bool::Const [−][src]
Implementations
impl<const VALUE: bool> Const<VALUE>
[src]
Trait Implementations
impl<const VALUE: bool> Clone for Const<VALUE>
[src]
impl<const VALUE: bool> Copy for Const<VALUE>
[src]
impl<const VALUE: bool> Debug for Const<VALUE>
[src]
impl<const VALUE: bool> Default for Const<VALUE>
[src]
impl<const VALUE: bool> Display for Const<VALUE>
[src]
impl<const VALUE: bool> Equals<Const<VALUE>> for Const<VALUE>
[src]
type ConstSide = Const<VALUE>
The const side of two types. Read more
fn get_const_side(&self, _: &Const<VALUE>) -> Option<Self::ConstSide>
[src]
impl<const VALUE: bool> Equals<Const<VALUE>> for bool
[src]
type ConstSide = Const<VALUE>
The const side of two types. Read more
fn get_const_side(&self, rhs: &Const<VALUE>) -> Option<Self::ConstSide>
[src]
impl<const VALUE: bool> Equals<bool> for Const<VALUE>
[src]
type ConstSide = Const<VALUE>
The const side of two types. Read more
fn get_const_side(&self, rhs: &bool) -> Option<Self::ConstSide>
[src]
impl<const VALUE: bool> MayBeConstAT for Const<VALUE>
[src]
impl<const VALUE1: bool, const VALUE2: bool> PartialEq<Const<VALUE2>> for Const<VALUE1>
[src]
fn eq(&self, _: &Const<VALUE2>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<const VALUE: bool> PartialEq<bool> for Const<VALUE>
[src]
impl<const VALUE1: bool, const VALUE2: bool> PartialOrd<Const<VALUE2>> for Const<VALUE1>
[src]
fn partial_cmp(&self, _: &Const<VALUE2>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<const VALUE: bool> PartialOrd<bool> for Const<VALUE>
[src]
Auto Trait Implementations
impl<const VALUE: bool> RefUnwindSafe for Const<VALUE>
impl<const VALUE: bool> Send for Const<VALUE>
impl<const VALUE: bool> Sync for Const<VALUE>
impl<const VALUE: bool> Unpin for Const<VALUE>
impl<const VALUE: bool> UnwindSafe for Const<VALUE>
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,