Struct plot_interface::sys::stroke_brush::orphan::StrokeBrush
source · [−]pub struct StrokeBrush { /* private fields */ }
Expand description
StrokeBrush.
Implementations
sourceimpl StrokeBrush
impl StrokeBrush
sourcepub fn new() -> StrokeBrush
pub fn new() -> StrokeBrush
Constructor.
sourcepub fn color<Color>(self, val: Color) -> StrokeBrush where
Color: RgbaInterface<f32>,
pub fn color<Color>(self, val: Color) -> StrokeBrush where
Color: RgbaInterface<f32>,
ChangeInterface color.
sourcepub fn width(self, val: f32) -> StrokeBrush
pub fn width(self, val: f32) -> StrokeBrush
ChangeInterface color.
Trait Implementations
sourceimpl Clone for StrokeBrush
impl Clone for StrokeBrush
sourcefn clone(&self) -> StrokeBrush
fn clone(&self) -> StrokeBrush
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 Debug for StrokeBrush
impl Debug for StrokeBrush
sourceimpl Default for StrokeBrush
impl Default for StrokeBrush
sourcefn default() -> StrokeBrush
fn default() -> StrokeBrush
Returns the “default value” for a type. Read more
sourceimpl HasIdInterface for StrokeBrush
impl HasIdInterface for StrokeBrush
Auto Trait Implementations
impl RefUnwindSafe for StrokeBrush
impl Send for StrokeBrush
impl Sync for StrokeBrush
impl Unpin for StrokeBrush
impl UnwindSafe for StrokeBrush
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
impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.