pub struct ShaftStyle {
pub width_px: f32,
pub head_barbs: usize,
pub head_radius: f32,
pub colors: [[f32; 4]; 4],
}Fields§
§width_px: f32§head_barbs: usize§head_radius: f32§colors: [[f32; 4]; 4]RGBA per axis, in Axis4::ALL order.
Implementations§
Source§impl ShaftStyle
impl ShaftStyle
pub const AXIS_COLORS: [[f32; 4]; 4]
Trait Implementations§
Source§impl Clone for ShaftStyle
impl Clone for ShaftStyle
Source§fn clone(&self) -> ShaftStyle
fn clone(&self) -> ShaftStyle
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 ShaftStyle
impl Debug for ShaftStyle
Auto Trait Implementations§
impl Freeze for ShaftStyle
impl RefUnwindSafe for ShaftStyle
impl Send for ShaftStyle
impl Sync for ShaftStyle
impl Unpin for ShaftStyle
impl UnsafeUnpin for ShaftStyle
impl UnwindSafe for ShaftStyle
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