pub struct CornerPathParams {
pub a: f32,
pub b: f32,
pub c: f32,
pub d: f32,
pub p: f32,
pub corner_radius: f32,
pub arc_section_length: f32,
pub arc_theta: f32,
}Expand description
Calculates the parameters for a corner path.
Links:
Fields§
§a: f32§b: f32§c: f32§d: f32§p: f32§corner_radius: f32§arc_section_length: f32§arc_theta: f32Implementations§
Source§impl CornerPathParams
impl CornerPathParams
Trait Implementations§
Source§impl Clone for CornerPathParams
impl Clone for CornerPathParams
Source§fn clone(&self) -> CornerPathParams
fn clone(&self) -> CornerPathParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CornerPathParams
Auto Trait Implementations§
impl Freeze for CornerPathParams
impl RefUnwindSafe for CornerPathParams
impl Send for CornerPathParams
impl Sync for CornerPathParams
impl Unpin for CornerPathParams
impl UnwindSafe for CornerPathParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more