Struct direct2d::math::BrushProperties
[−]
[src]
#[repr(C)]pub struct BrushProperties(pub D2D1_BRUSH_PROPERTIES);
Methods
impl BrushProperties
[src]
fn new(opacity: f32, transform: &Matrix3x2F) -> BrushProperties
fn opacity(self, opacity: f32) -> Self
fn transform(self, transform: &Matrix3x2F) -> Self
Trait Implementations
impl Copy for BrushProperties
[src]
impl Clone for BrushProperties
[src]
fn clone(&self) -> BrushProperties
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for BrushProperties
[src]
impl Deref for BrushProperties
[src]
type Target = D2D1_BRUSH_PROPERTIES
The resulting type after dereferencing
fn deref(&self) -> &D2D1_BRUSH_PROPERTIES
The method called to dereference a value
impl DerefMut for BrushProperties
[src]
fn deref_mut(&mut self) -> &mut D2D1_BRUSH_PROPERTIES
The method called to mutably dereference a value
impl Default for BrushProperties
[src]
fn default() -> BrushProperties
Returns the "default value" for a type. Read more