Struct audio_processor_testing_helpers::charts::ShapeStyle
source · [−]Expand description
Style for any of shape
Fields
color: RGBAColor
filled: bool
stroke_width: u32
Implementations
sourceimpl ShapeStyle
impl ShapeStyle
sourcepub fn filled(&self) -> ShapeStyle
pub fn filled(&self) -> ShapeStyle
Make a filled shape style
pub fn stroke_width(&self, width: u32) -> ShapeStyle
Trait Implementations
sourceimpl BackendStyle for ShapeStyle
impl BackendStyle for ShapeStyle
sourcefn stroke_width(&self) -> u32
fn stroke_width(&self) -> u32
Get the stroke width of current style
sourceimpl Clone for ShapeStyle
impl Clone for ShapeStyle
sourcefn clone(&self) -> ShapeStyle
fn clone(&self) -> ShapeStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T> From<T> for ShapeStyle where
T: Color,
impl<T> From<T> for ShapeStyle where
T: Color,
sourcefn from(f: T) -> ShapeStyle
fn from(f: T) -> ShapeStyle
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ShapeStyle
impl Send for ShapeStyle
impl Sync for ShapeStyle
impl Unpin for ShapeStyle
impl UnwindSafe for ShapeStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more