Struct otter_base::zcoord::Mutable
source · [−]pub struct Mutable { /* private fields */ }
Implementations
sourceimpl Mutable
impl Mutable
sourcepub fn range_upto(
&self,
other: &Mutable,
count: RangeCount
) -> Result<RangeIterator, RangeImpossible>
pub fn range_upto(
&self,
other: &Mutable,
count: RangeCount
) -> Result<RangeIterator, RangeImpossible>
Iterator producing a half-open range [self, other>
Produces precisely count
items.
sourceimpl Mutable
impl Mutable
sourcepub fn iter<ASO: AddSubOffset>(
self,
aso: ASO
) -> IteratorCore<ASO, impl MutateReturn + Debug>ⓘNotable traits for IteratorCore<ASO, MR>impl<ASO: AddSubOffset, MR: MutateReturn> Iterator for IteratorCore<ASO, MR> type Item = ZCoord;
pub fn iter<ASO: AddSubOffset>(
self,
aso: ASO
) -> IteratorCore<ASO, impl MutateReturn + Debug>ⓘNotable traits for IteratorCore<ASO, MR>impl<ASO: AddSubOffset, MR: MutateReturn> Iterator for IteratorCore<ASO, MR> type Item = ZCoord;
Iterator producing <self, ..>
sourcepub fn some_range(
a: Option<&Mutable>,
b: Option<&Mutable>,
count: RangeCount
) -> Result<BoxedIterator, LogicError>
pub fn some_range(
a: Option<&Mutable>,
b: Option<&Mutable>,
count: RangeCount
) -> Result<BoxedIterator, LogicError>
Iterator producing an open range, <a, b>
Trait Implementations
sourceimpl FromStr for Mutable
impl FromStr for Mutable
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
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
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