pub struct SdfOptions {
pub r: f64,
pub a: Vec<f64>,
pub b: Vec<f64>,
pub corners: Vec<f64>,
}
Expand description
Options for sdf operation
Fields§
§r: f64
r: f64
-> Radius
min: 0, max: 100000000, default: 50
a: Vec<f64>
a: Vec<f64>
-> Point a
b: Vec<f64>
b: Vec<f64>
-> Point b
corners: Vec<f64>
corners: Vec<f64>
-> Corner radii
Trait Implementations§
Source§impl Clone for SdfOptions
impl Clone for SdfOptions
Source§fn clone(&self) -> SdfOptions
fn clone(&self) -> SdfOptions
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 moreSource§impl Debug for SdfOptions
impl Debug for SdfOptions
Auto Trait Implementations§
impl Freeze for SdfOptions
impl RefUnwindSafe for SdfOptions
impl Send for SdfOptions
impl Sync for SdfOptions
impl Unpin for SdfOptions
impl UnwindSafe for SdfOptions
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