[−][src]Struct softposit::p8e0::Q8E0
Methods
impl Q8E0
[src]
pub const ZERO: Self
[src]
pub const ONE: Self
[src]
pub const NAR: Self
[src]
pub const fn init() -> Self
[src]
pub fn from_posit(p: P8E0) -> Self
[src]
pub fn from_bits(v: u32) -> Self
[src]
pub fn to_bits(&self) -> u32
[src]
pub fn is_zero(&self) -> bool
[src]
pub fn is_nar(&self) -> bool
[src]
pub fn add_product(&mut self, p_a: P8E0, p_b: P8E0)
[src]
pub fn sub_product(&mut self, p_a: P8E0, p_b: P8E0)
[src]
pub fn to_posit(self) -> P8E0
[src]
pub fn clear(&mut self)
[src]
pub fn neg(&mut self)
[src]
Trait Implementations
impl Quire<P8E0> for Q8E0
[src]
type Bits = u32
fn init() -> Self
[src]
fn from_posit(p: P8E0) -> Self
[src]
fn to_posit(self) -> P8E0
[src]
fn from_bits(v: Self::Bits) -> Self
[src]
fn to_bits(&self) -> Self::Bits
[src]
fn is_zero(&self) -> bool
[src]
fn is_nar(&self) -> bool
[src]
fn add_product(&mut self, p_a: P8E0, p_b: P8E0)
[src]
fn sub_product(&mut self, p_a: P8E0, p_b: P8E0)
[src]
fn clear(&mut self)
[src]
fn neg(&mut self)
[src]
impl AddAssign<(P8E0, P8E0)> for Q8E0
[src]
impl SubAssign<(P8E0, P8E0)> for Q8E0
[src]
impl Debug for Q8E0
[src]
impl Display for Q8E0
[src]
impl From<P8E0> for Q8E0
[src]
impl From<Q8E0> for P8E0
[src]
impl Clone for Q8E0
[src]
Auto Trait Implementations
Blanket Implementations
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self