Struct plot_interface::StrokeBrushChanger
source · [−]pub struct StrokeBrushChanger { /* private fields */ }
Expand description
ChangerInterface of brush stroke.
Implementations
sourceimpl StrokeBrushChanger
impl StrokeBrushChanger
sourcepub fn color<Color>(self, color: Color) -> StrokeBrushChanger where
Color: RgbaInterface<f32>,
pub fn color<Color>(self, color: Color) -> StrokeBrushChanger where
Color: RgbaInterface<f32>,
ChangeInterface color.
sourcepub fn width(self, val: f32) -> StrokeBrushChanger
pub fn width(self, val: f32) -> StrokeBrushChanger
Width.
Trait Implementations
sourceimpl ChangerInterface for StrokeBrushChanger
impl ChangerInterface for StrokeBrushChanger
type Parent = ContextChanger
type Parent = ContextChanger
Type of parent changer.
type Root = ContextChanger
type Root = ContextChanger
Type of root changer.
sourcefn context(self) -> <StrokeBrushChanger as ChangerInterface>::Root
fn context(self) -> <StrokeBrushChanger as ChangerInterface>::Root
Get back to root changer.
sourcefn parent(&mut self) -> &mut <StrokeBrushChanger as ChangerInterface>::Parent
fn parent(&mut self) -> &mut <StrokeBrushChanger as ChangerInterface>::Parent
Get parent.
sourcefn end(self) -> <StrokeBrushChanger as ChangerInterface>::Parent
fn end(self) -> <StrokeBrushChanger as ChangerInterface>::Parent
Get back to parent changer.
sourcefn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: 'static + ChangeInterface,
fn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: 'static + ChangeInterface,
Add change.
sourceimpl Clone for StrokeBrushChanger
impl Clone for StrokeBrushChanger
sourcefn clone(&self) -> StrokeBrushChanger
fn clone(&self) -> StrokeBrushChanger
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 StrokeBrushChanger
impl Debug for StrokeBrushChanger
sourceimpl HasIdInterface for StrokeBrushChanger
impl HasIdInterface for StrokeBrushChanger
Auto Trait Implementations
impl !RefUnwindSafe for StrokeBrushChanger
impl !Send for StrokeBrushChanger
impl !Sync for StrokeBrushChanger
impl Unpin for StrokeBrushChanger
impl !UnwindSafe for StrokeBrushChanger
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<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.