Struct direct2d::math::ThicknessF
[−]
[src]
#[repr(C)]pub struct ThicknessF(pub D2D1_RECT_F);
Methods
impl ThicknessF
[src]
fn new(left: f32, top: f32, right: f32, bottom: f32) -> ThicknessF
fn width(&self) -> f32
fn height(&self) -> f32
Trait Implementations
impl Copy for ThicknessF
[src]
impl Clone for ThicknessF
[src]
fn clone(&self) -> ThicknessF
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 ThicknessF
[src]
impl Deref for ThicknessF
[src]
type Target = D2D1_RECT_F
The resulting type after dereferencing
fn deref(&self) -> &D2D1_RECT_F
The method called to dereference a value
impl DerefMut for ThicknessF
[src]
fn deref_mut(&mut self) -> &mut D2D1_RECT_F
The method called to mutably dereference a value
impl From<(f32, f32, f32, f32)> for ThicknessF
[src]
impl Neg for ThicknessF
[src]
type Output = ThicknessF
The resulting type after applying the -
operator
fn neg(self) -> ThicknessF
The method for the unary -
operator
impl Mul<f32> for ThicknessF
[src]
type Output = ThicknessF
The resulting type after applying the *
operator
fn mul(self, rhs: f32) -> ThicknessF
The method for the *
operator
impl Div<f32> for ThicknessF
[src]
type Output = ThicknessF
The resulting type after applying the /
operator
fn div(self, rhs: f32) -> ThicknessF
The method for the /
operator