pub struct ExaggerateOptions {
pub scale_factor: f64,
pub anchor: ExaggerateAnchor,
}Expand description
Options controlling the exaggeration transform.
Fields§
§scale_factor: f64Uniform scale factor applied around the anchor.
> 1.0enlarges the feature.< 1.0shrinks the feature.1.0leaves positions unchanged.
anchor: ExaggerateAnchorAnchor point from which scaling emanates.
Trait Implementations§
Source§impl Clone for ExaggerateOptions
impl Clone for ExaggerateOptions
Source§fn clone(&self) -> ExaggerateOptions
fn clone(&self) -> ExaggerateOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExaggerateOptions
impl Debug for ExaggerateOptions
Auto Trait Implementations§
impl Freeze for ExaggerateOptions
impl RefUnwindSafe for ExaggerateOptions
impl Send for ExaggerateOptions
impl Sync for ExaggerateOptions
impl Unpin for ExaggerateOptions
impl UnsafeUnpin for ExaggerateOptions
impl UnwindSafe for ExaggerateOptions
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