Struct ct::Ct
[−]
[src]
pub struct Ct<T>(_);
Methods
impl<T> Ct<T> where
T: Neg<Output = T> + BitAnd<Output = T> + BitXor<Output = T> + Copy,
[src]
T: Neg<Output = T> + BitAnd<Output = T> + BitXor<Output = T> + Copy,
fn select(self, a: T, b: T) -> Self
Trait Implementations
impl<T: Clone> Clone for Ct<T>
[src]
fn clone(&self) -> Ct<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for Ct<T>
[src]
impl<T: Debug> Debug for Ct<T>
[src]
impl PartialEq for Ct<u8>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<u8>
[src]
impl PartialEq<u8> for Ct<u8>
[src]
fn eq(&self, other: &u8) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &u8) -> bool
This method tests for !=
.
impl PartialEq for Ct<u16>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<u16>
[src]
impl PartialEq<u16> for Ct<u16>
[src]
fn eq(&self, other: &u16) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &u16) -> bool
This method tests for !=
.
impl PartialEq for Ct<u32>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<u32>
[src]
impl PartialEq<u32> for Ct<u32>
[src]
fn eq(&self, other: &u32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &u32) -> bool
This method tests for !=
.
impl PartialEq for Ct<u64>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<u64>
[src]
impl PartialEq<u64> for Ct<u64>
[src]
fn eq(&self, other: &u64) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &u64) -> bool
This method tests for !=
.
impl PartialEq for Ct<usize>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<usize>
[src]
impl PartialEq<usize> for Ct<usize>
[src]
fn eq(&self, other: &usize) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &usize) -> bool
This method tests for !=
.
impl PartialEq for Ct<i8>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<i8>
[src]
impl PartialEq<i8> for Ct<i8>
[src]
fn eq(&self, other: &i8) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &i8) -> bool
This method tests for !=
.
impl PartialEq for Ct<i16>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<i16>
[src]
impl PartialEq<i16> for Ct<i16>
[src]
fn eq(&self, other: &i16) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &i16) -> bool
This method tests for !=
.
impl PartialEq for Ct<i32>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<i32>
[src]
impl PartialEq<i32> for Ct<i32>
[src]
fn eq(&self, other: &i32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &i32) -> bool
This method tests for !=
.
impl PartialEq for Ct<i64>
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Eq for Ct<i64>
[src]
impl PartialEq<i64> for Ct<i64>
[src]
fn eq(&self, other: &i64) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &i64) -> bool
This method tests for !=
.
impl<T> Add for Ct<T> where
T: Add,
[src]
T: Add,
type Output = Ct<T::Output>
The resulting type after applying the +
operator
fn add(self, other: Self) -> Self::Output
The method for the +
operator
impl<T> Add<T> for Ct<T> where
T: Add,
[src]
T: Add,
type Output = Ct<T::Output>
The resulting type after applying the +
operator
fn add(self, other: T) -> Self::Output
The method for the +
operator
impl<T> Sub for Ct<T> where
T: Sub,
[src]
T: Sub,
type Output = Ct<T::Output>
The resulting type after applying the -
operator
fn sub(self, other: Self) -> Self::Output
The method for the -
operator
impl<T> Sub<T> for Ct<T> where
T: Sub,
[src]
T: Sub,
type Output = Ct<T::Output>
The resulting type after applying the -
operator
fn sub(self, other: T) -> Self::Output
The method for the -
operator
impl<T> Mul for Ct<T> where
T: Mul,
[src]
T: Mul,
type Output = Ct<T::Output>
The resulting type after applying the *
operator
fn mul(self, other: Self) -> Self::Output
The method for the *
operator
impl<T> Mul<T> for Ct<T> where
T: Mul,
[src]
T: Mul,
type Output = Ct<T::Output>
The resulting type after applying the *
operator
fn mul(self, other: T) -> Self::Output
The method for the *
operator
impl<T> Div for Ct<T> where
T: Div,
[src]
T: Div,
type Output = Ct<T::Output>
The resulting type after applying the /
operator
fn div(self, other: Self) -> Self::Output
The method for the /
operator
impl<T> Div<T> for Ct<T> where
T: Div,
[src]
T: Div,
type Output = Ct<T::Output>
The resulting type after applying the /
operator
fn div(self, other: T) -> Self::Output
The method for the /
operator
impl<T> BitAnd for Ct<T> where
T: BitAnd,
[src]
T: BitAnd,
type Output = Ct<T::Output>
The resulting type after applying the &
operator
fn bitand(self, other: Self) -> Self::Output
The method for the &
operator
impl<T> BitAnd<T> for Ct<T> where
T: BitAnd,
[src]
T: BitAnd,
type Output = Ct<T::Output>
The resulting type after applying the &
operator
fn bitand(self, other: T) -> Self::Output
The method for the &
operator
impl<T> BitOr for Ct<T> where
T: BitOr,
[src]
T: BitOr,
type Output = Ct<T::Output>
The resulting type after applying the |
operator
fn bitor(self, other: Self) -> Self::Output
The method for the |
operator
impl<T> BitOr<T> for Ct<T> where
T: BitOr,
[src]
T: BitOr,
type Output = Ct<T::Output>
The resulting type after applying the |
operator
fn bitor(self, other: T) -> Self::Output
The method for the |
operator
impl<T> BitXor for Ct<T> where
T: BitXor,
[src]
T: BitXor,
type Output = Ct<T::Output>
The resulting type after applying the ^
operator
fn bitxor(self, other: Self) -> Self::Output
The method for the ^
operator
impl<T> BitXor<T> for Ct<T> where
T: BitXor,
[src]
T: BitXor,
type Output = Ct<T::Output>
The resulting type after applying the ^
operator
fn bitxor(self, other: T) -> Self::Output
The method for the ^
operator
impl<T> Not for Ct<T> where
T: Not,
[src]
T: Not,
type Output = Ct<T::Output>
The resulting type after applying the !
operator
fn not(self) -> Self::Output
The method for the unary !
operator
impl<T> Neg for Ct<T> where
T: Neg,
[src]
T: Neg,