[][src]Struct fumarole::rendering::Line

pub struct Line<'s> { /* fields omitted */ }

Methods

impl<'s> Line<'s>[src]

pub fn new(data: &'s mut DrawingData, masks: (i32, i32)) -> Self[src]

pub fn points(self, p0: Vec2<f32>, p1: Vec2<f32>) -> Self[src]

pub fn draw(&mut self)[src]

impl<'s> Line<'s>[src]

pub fn color(self, color: [f32; 4]) -> Self[src]

impl<'s> Line<'s>[src]

pub fn anchor(self, anchor: Anchor) -> Self[src]

impl<'s> Line<'s>[src]

pub fn smooth(self, smooth: bool) -> Self[src]

impl<'s> Line<'s>[src]

pub fn width(self, width: f32) -> Self[src]

impl<'s> Line<'s>[src]

pub fn scaling(self, scaling: bool) -> Self[src]

impl<'s> Line<'s>[src]

pub fn depth(self, depth: f32) -> Self[src]

Auto Trait Implementations

impl<'s> RefUnwindSafe for Line<'s>

impl<'s> Send for Line<'s>

impl<'s> Sync for Line<'s>

impl<'s> Unpin for Line<'s>

impl<'s> !UnwindSafe for Line<'s>

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> From<T> for T[src]

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

impl<T> SetParameter for T

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.