Struct solstice_2d::DrawList [−][src]
pub struct DrawList<'a> { /* fields omitted */ }Implementations
Trait Implementations
fn draw_with_transform<TX>(&mut self, geometry: G, transform: TX) where
TX: Into<ColumnMatrix4<f32>>,
fn draw_with_color_and_transform<C, TX>(
&mut self,
geometry: G,
color: C,
transform: TX
) where
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
fn image_with_color<T, C>(&mut self, geometry: G, texture: T, color: C) where
T: Texture,
C: Into<Color>,
fn image_with_transform<T, TX>(
&mut self,
geometry: G,
texture: T,
transform: TX
) where
T: Texture,
TX: Into<ColumnMatrix4<f32>>,
fn image_with_color_and_transform<T, C, TX>(
&mut self,
geometry: G,
texture: T,
color: C,
transform: TX
) where
T: Texture,
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
fn draw_with_transform<TX>(&mut self, geometry: G, transform: TX) where
TX: Into<ColumnMatrix4<f32>>,
fn draw_with_color_and_transform<C, TX>(
&mut self,
geometry: G,
color: C,
transform: TX
) where
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
fn image_with_color<T, C>(&mut self, geometry: G, texture: T, color: C) where
T: Texture,
C: Into<Color>,
fn image_with_transform<T, TX>(
&mut self,
geometry: G,
texture: T,
transform: TX
) where
T: Texture,
TX: Into<ColumnMatrix4<f32>>,
fn image_with_color_and_transform<T, C, TX>(
&mut self,
geometry: G,
texture: T,
color: C,
transform: TX
) where
T: Texture,
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
fn stroke_with_transform<TX>(&mut self, geometry: G, transform: TX) where
TX: Into<ColumnMatrix4<f32>>,
fn stroke_with_color_and_transform<C, TX>(
&mut self,
geometry: G,
color: C,
transform: TX
) where
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
fn stroke_with_transform<TX>(&mut self, geometry: G, transform: TX) where
TX: Into<ColumnMatrix4<f32>>,
fn stroke_with_color_and_transform<C, TX>(
&mut self,
geometry: G,
color: C,
transform: TX
) where
C: Into<Color>,
TX: Into<ColumnMatrix4<f32>>,
Auto Trait Implementations
impl<'a> RefUnwindSafe for DrawList<'a>
impl<'a> UnwindSafe for DrawList<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.
