Struct tg_sys::tg_segment
source · #[repr(C)]pub struct tg_segment {
pub a: tg_point,
pub b: tg_point,
}Expand description
The base segment type used in tg_line and tg_ring for joining two vertices. @see SegmentFuncs
Fields§
§a: tg_point§b: tg_pointTrait Implementations§
source§impl Clone for tg_segment
impl Clone for tg_segment
source§fn clone(&self) -> tg_segment
fn clone(&self) -> tg_segment
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 tg_segment
impl Debug for tg_segment
source§impl PartialEq for tg_segment
impl PartialEq for tg_segment
source§fn eq(&self, other: &tg_segment) -> bool
fn eq(&self, other: &tg_segment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for tg_segment
impl StructuralPartialEq for tg_segment
Auto Trait Implementations§
impl RefUnwindSafe for tg_segment
impl Send for tg_segment
impl Sync for tg_segment
impl Unpin for tg_segment
impl UnwindSafe for tg_segment
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