[−][src]Struct gridiron::digits::constant_bool::ConstantBool
Methods
impl<T> ConstantBool<T> where
Wrapping<T>: Neg<Output = Wrapping<T>> + BitOr<Output = Wrapping<T>>,
T: NumOps + Copy + BitAnd<Output = T> + BitXor<Output = T> + BitOr<Output = T> + Shr<usize, Output = T> + One + Zero + PartialEq,
[src]
impl<T> ConstantBool<T> where
Wrapping<T>: Neg<Output = Wrapping<T>> + BitOr<Output = Wrapping<T>>,
T: NumOps + Copy + BitAnd<Output = T> + BitXor<Output = T> + BitOr<Output = T> + Shr<usize, Output = T> + One + Zero + PartialEq,
pub fn mux(self, x: T, y: T) -> T | [src] |
pub fn is_zero(i: T) -> Self | [src] |
pub fn not_zero(i: T) -> Self | [src] |
pub fn new_true() -> Self | [src] |
pub fn new_false() -> Self | [src] |
Trait Implementations
impl<T: Clone + NumOps + Copy> Clone for ConstantBool<T>
[src]
impl<T: Clone + NumOps + Copy> Clone for ConstantBool<T>
fn clone(&self) -> ConstantBool<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl From<bool> for ConstantBool<u32>
[src]
impl From<bool> for ConstantBool<u32>
fn from(b: bool) -> ConstantBool<u32> | [src] |
impl From<bool> for ConstantBool<u64>
[src]
impl From<bool> for ConstantBool<u64>
fn from(b: bool) -> ConstantBool<u64> | [src] |
impl<T: NumOps + Copy + Zero> Default for ConstantBool<T>
[src]
impl<T: NumOps + Copy + Zero> Default for ConstantBool<T>
fn default() -> ConstantBool<T> | [src] |
impl<T: Copy + NumOps + Copy> Copy for ConstantBool<T>
[src]
impl<T: Copy + NumOps + Copy> Copy for ConstantBool<T>
impl<T: NumOps + Copy + BitXor<Output = T> + One> Not for ConstantBool<T>
[src]
impl<T: NumOps + Copy + BitXor<Output = T> + One> Not for ConstantBool<T>
type Output = Self
The resulting type after applying the !
operator.
fn not(self) -> ConstantBool<T> | [src] |
Performs the unary !
operation.
impl<T: NumOps + Copy + BitAnd<Output = T>> BitAnd<ConstantBool<T>> for ConstantBool<T>
[src]
impl<T: NumOps + Copy + BitAnd<Output = T>> BitAnd<ConstantBool<T>> for ConstantBool<T>
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self | [src] |
impl<T: NumOps + Copy + BitOr<Output = T>> BitOr<ConstantBool<T>> for ConstantBool<T>
[src]
impl<T: NumOps + Copy + BitOr<Output = T>> BitOr<ConstantBool<T>> for ConstantBool<T>
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self | [src] |
impl<T: NumOps + Copy + BitXor<Output = T>> BitXor<ConstantBool<T>> for ConstantBool<T>
[src]
impl<T: NumOps + Copy + BitXor<Output = T>> BitXor<ConstantBool<T>> for ConstantBool<T>
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self | [src] |
impl<T: NumOps + Copy + BitOr<Output = T>> BitOrAssign<ConstantBool<T>> for ConstantBool<T>
[src]
impl<T: NumOps + Copy + BitOr<Output = T>> BitOrAssign<ConstantBool<T>> for ConstantBool<T>
fn bitor_assign(&mut self, rhs: Self) | [src] |
Auto Trait Implementations
impl<T> Send for ConstantBool<T> where
T: Send,
impl<T> Send for ConstantBool<T> where
T: Send,
impl<T> Sync for ConstantBool<T> where
T: Sync,
impl<T> Sync for ConstantBool<T> where
T: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |