[][src]Struct svgbob::fragment::Polygon

pub struct Polygon {
    pub points: Vec<Point>,
    pub is_filled: bool,
    pub tags: Vec<PolygonTag>,
}

Fields

points: Vec<Point>is_filled: booltags: Vec<PolygonTag>

tag is added in order to not keep detecting the shape of the polygon to arrows/diamond

Trait Implementations

impl Bounds for Polygon[src]

impl Clone for Polygon[src]

impl Debug for Polygon[src]

impl Display for Polygon[src]

impl Eq for Polygon[src]

impl<MSG> Into<Node<&'static str, &'static str, (), MSG>> for Polygon[src]

impl Ord for Polygon[src]

This is needed since this struct contains f32 which rust doesn't provide Eq implementation

impl PartialEq<Polygon> for Polygon[src]

impl PartialOrd<Polygon> for Polygon[src]

Auto Trait Implementations

impl RefUnwindSafe for Polygon

impl Send for Polygon

impl Sync for Polygon

impl Unpin for Polygon

impl UnwindSafe for Polygon

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.