[][src]Struct svgbob::fragment::Text

pub struct Text {
    pub start: Point,
    pub text: String,
}

This is ready to be scaled and drawn into the svg file

Fields

start: Pointtext: String

Methods

impl Text[src]

pub fn new(start: Point, text: String) -> Self[src]

Trait Implementations

impl Bounds for Text[src]

impl Clone for Text[src]

impl Debug for Text[src]

impl Display for Text[src]

impl Eq for Text[src]

impl From<Text> for Fragment[src]

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

impl Into<Text> for CellText[src]

impl Ord for Text[src]

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

impl PartialEq<Text> for Text[src]

impl PartialOrd<Text> for Text[src]

Auto Trait Implementations

impl RefUnwindSafe for Text

impl Send for Text

impl Sync for Text

impl Unpin for Text

impl UnwindSafe for Text

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.