Struct tiny_skia_path::f32x2
source · [−]Expand description
A pair of f32 numbers.
Mainly for internal use. Do not rely on it!
Tuple Fields
0: [f32; 2]
Implementations
sourceimpl f32x2
impl f32x2
sourcepub fn max_component(self) -> f32
pub fn max_component(self) -> f32
Returns a maximum of both values.
Trait Implementations
impl Copy for f32x2
impl StructuralPartialEq for f32x2
Auto Trait Implementations
impl RefUnwindSafe for f32x2
impl Send for f32x2
impl Sync for f32x2
impl Unpin for f32x2
impl UnwindSafe for f32x2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more