pub trait ScaleTransformStrokeExt: ScaleTransform + StrokeWidth {
// Provided methods
fn scale_with_stroke(&mut self, scale: DVec3) -> &mut Self { ... }
fn scale_to_with_stroke(&mut self, hint: ScaleHint) -> &mut Self
where Self: Aabb { ... }
}Expand description
A trait for scaling operations with stroke width.
Provided Methods§
Sourcefn scale_with_stroke(&mut self, scale: DVec3) -> &mut Self
fn scale_with_stroke(&mut self, scale: DVec3) -> &mut Self
Scale the item with stroke width (at origin).
Sourcefn scale_to_with_stroke(&mut self, hint: ScaleHint) -> &mut Selfwhere
Self: Aabb,
fn scale_to_with_stroke(&mut self, hint: ScaleHint) -> &mut Selfwhere
Self: Aabb,
Scale the item to a given hint with stroke width.
See ScaleHint for more details.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".