Struct otter_api_tests::zcoord::Mutable[]

pub struct Mutable { /* fields omitted */ }

Implementations

impl Mutable

pub fn increment(&mut self) -> Result<ZCoord, Overflow>

pub fn decrement(&mut self) -> Result<ZCoord, Overflow>

pub fn repack(&self) -> Result<ZCoord, Overflow>

impl Mutable

pub fn range_upto(
    &self,
    other: &Mutable,
    count: u32
) -> Result<Take<IteratorCore<AddSubRangeDelta, MutateFirst>>, RangeBackwards>

impl Mutable

pub fn iter<ASO>(self, aso: ASO) -> IteratorCore<ASO, impl MutateReturn + Debug>

Notable traits for IteratorCore<ASO, MR>

impl<ASO, MR> Iterator for IteratorCore<ASO, MR> where
    MR: MutateReturn,
    ASO: AddSubOffset
type Item = ZCoord;
where
    ASO: AddSubOffset

pub fn some_range(
    a: Option<&Mutable>,
    b: Option<&Mutable>,
    count: u32
) -> Result<Box<dyn BoxedIteratorTrait<Item = ZCoord> + 'static, Global>, LogicError>

pub fn from_str(s: &str) -> Result<Mutable, ParseError>

Trait Implementations

impl Clone for Mutable

impl Debug for Mutable

impl<'_> TryFrom<&'_ Mutable> for ZCoord

type Error = Overflow

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Mutable

impl Send for Mutable

impl Sync for Mutable

impl Unpin for Mutable

impl UnwindSafe for Mutable

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

impl<T> From<T> 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, 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>,