Struct oc_wasm_helpers::fluid::Tank
source · [−]Expand description
Information about a fluid tank.
The 'buffer lifetime is the lifetime of the buffer holding strings to which the object
refers.
Fields
fluid: Option<Fluid<'buffer>>The fluid contained in the tank, if any.
capacity: u32The maximum number of millibuckets the tank can hold.
Trait Implementations
sourceimpl<'buffer> Ord for Tank<'buffer>
impl<'buffer> Ord for Tank<'buffer>
sourceimpl<'buffer> PartialOrd<Tank<'buffer>> for Tank<'buffer>
impl<'buffer> PartialOrd<Tank<'buffer>> for Tank<'buffer>
sourcefn partial_cmp(&self, other: &Tank<'buffer>) -> Option<Ordering>
fn partial_cmp(&self, other: &Tank<'buffer>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<'buffer> Eq for Tank<'buffer>
impl<'buffer> StructuralEq for Tank<'buffer>
impl<'buffer> StructuralPartialEq for Tank<'buffer>
Auto Trait Implementations
impl<'buffer> RefUnwindSafe for Tank<'buffer>
impl<'buffer> Send for Tank<'buffer>
impl<'buffer> Sync for Tank<'buffer>
impl<'buffer> Unpin for Tank<'buffer>
impl<'buffer> UnwindSafe for Tank<'buffer>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more