Struct rin_graphics::Line [−][src]
Represents a line segment in 2D space
Fields
p1: Pnt2
p2: Pnt2
Implementations
impl Line
[src]
impl Line
[src]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src][−]
pub fn is_in_subset(&self) -> bool
[src][−]
pub fn to_subset_unchecked(&self) -> SS
[src][−]
pub fn from_subset(element: &SS) -> SP
[src][−]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]