pub struct EdgeSource {
pub ring: usize,
pub edge: usize,
pub forward: bool,
}Expand description
Where a piece of the subdivision came from.
Fields§
§ring: usizeIndex of the input ring.
edge: usizeIndex of the edge in that ring, as the caller passed it: the edge
leaving vertices[edge].
forward: boolWhether the piece runs the same way as that input edge.
Trait Implementations§
Source§impl Clone for EdgeSource
impl Clone for EdgeSource
Source§fn clone(&self) -> EdgeSource
fn clone(&self) -> EdgeSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeSource
impl Debug for EdgeSource
Source§impl PartialEq for EdgeSource
impl PartialEq for EdgeSource
impl Copy for EdgeSource
impl Eq for EdgeSource
impl StructuralPartialEq for EdgeSource
Auto Trait Implementations§
impl Freeze for EdgeSource
impl RefUnwindSafe for EdgeSource
impl Send for EdgeSource
impl Sync for EdgeSource
impl Unpin for EdgeSource
impl UnwindSafe for EdgeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more