[−][src]Struct bio::stats::probs::PHREDProb
A newtype for PHRED-scale probabilities.
Example
#[macro_use] extern crate approx; use bio::stats::{PHREDProb, Prob}; let p = PHREDProb::from(Prob(0.5)); assert_relative_eq!(*Prob::from(p), *Prob(0.5));
Trait Implementations
impl<'a> Add<&'a PHREDProb> for &'a PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> PHREDProb
[src]
impl<'a> Add<&'a PHREDProb> for PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the +
operator.
fn add(self, rhs: &'a PHREDProb) -> PHREDProb
[src]
impl Add<PHREDProb> for PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> PHREDProb
[src]
impl<'a> Add<PHREDProb> for &'a PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the +
operator.
fn add(self, rhs: PHREDProb) -> PHREDProb
[src]
impl Clone for PHREDProb
[src]
impl Copy for PHREDProb
[src]
impl Debug for PHREDProb
[src]
impl Default for PHREDProb
[src]
impl Deref for PHREDProb
[src]
impl<'de> Deserialize<'de> for PHREDProb
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<LogProb> for PHREDProb
[src]
impl From<PHREDProb> for f64
[src]
impl From<PHREDProb> for Prob
[src]
impl From<PHREDProb> for LogProb
[src]
impl From<Prob> for PHREDProb
[src]
impl From<f64> for PHREDProb
[src]
impl PartialEq<PHREDProb> for PHREDProb
[src]
impl PartialOrd<PHREDProb> for PHREDProb
[src]
fn partial_cmp(&self, other: &PHREDProb) -> Option<Ordering>
[src]
fn lt(&self, other: &PHREDProb) -> bool
[src]
fn le(&self, other: &PHREDProb) -> bool
[src]
fn gt(&self, other: &PHREDProb) -> bool
[src]
fn ge(&self, other: &PHREDProb) -> bool
[src]
impl Serialize for PHREDProb
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PHREDProb
[src]
impl<'a> Sub<&'a PHREDProb> for &'a PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> PHREDProb
[src]
impl<'a> Sub<&'a PHREDProb> for PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the -
operator.
fn sub(self, rhs: &'a PHREDProb) -> PHREDProb
[src]
impl Sub<PHREDProb> for PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> PHREDProb
[src]
impl<'a> Sub<PHREDProb> for &'a PHREDProb
[src]
type Output = PHREDProb
The resulting type after applying the -
operator.
fn sub(self, rhs: PHREDProb) -> PHREDProb
[src]
impl Zero for PHREDProb
[src]
Auto Trait Implementations
impl RefUnwindSafe for PHREDProb
impl Send for PHREDProb
impl Sync for PHREDProb
impl Unpin for PHREDProb
impl UnwindSafe for PHREDProb
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<M> Measure for M where
M: Debug + PartialOrd<M> + Add<M, Output = M> + Default + Clone,
[src]
M: Debug + PartialOrd<M> + Add<M, Output = M> + Default + Clone,
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, 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> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,