pub struct Line { /* fields omitted */ }
Expand description
A Slicer
which produces cells along the line connecting two points in the parent frame.
This slicer will uses the algorithm described in
here, meaning that all cells the
line intersects will be yielded only once.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The non-mutable output type for the data of this Slicer
.
The mutable output type for the data of this Slicer
.
Perform the slice on the given data
layer, or None
if the slicer has reached the end of
its data. Read more
Perform a mutable slice on the given data
layer, or None
if the slicer has reached the
end of its data. Read more
Advance the Slicer
to the next index.
Return the current index of the Slicer
, or None
if the slicer has reached the end of
its data. Read more
Resets the index of this Slicer
so that it can be used on the next layer in the
iteration. The layer
input is used for slicers which need to monitor which layer they are
on. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.