Struct noxious_client::Toxic[][src]

pub struct Toxic {
    pub kind: ToxicKind,
    pub name: String,
    pub toxicity: f32,
    pub direction: StreamDirection,
}

Something that can be attached to a link to modify the way the data is passed through

Fields

kind: ToxicKind

The kind which also contains kind-specific attributes

name: String

The unique name for this toxic

toxicity: f32

The probability of this toxic being active

direction: StreamDirection

The direction this toxic is install on

Implementations

impl Toxic[src]

pub fn get_name(&self) -> &str[src]

Get the toxic name

Trait Implementations

impl Clone for Toxic[src]

impl Debug for Toxic[src]

impl<'de> Deserialize<'de> for Toxic[src]

impl Display for Toxic[src]

impl PartialEq<Toxic> for Toxic[src]

impl Serialize for Toxic[src]

Auto Trait Implementations

impl RefUnwindSafe for Toxic

impl Send for Toxic

impl Sync for Toxic

impl Unpin for Toxic

impl UnwindSafe for Toxic

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,