pub struct StrokeBrushChanger { /* private fields */ }Expand description
ChangerInterface of brush stroke.
Implementations§
Source§impl StrokeBrushChanger
impl StrokeBrushChanger
Sourcepub fn color<Color>(self, color: Color) -> StrokeBrushChangerwhere
Color: RgbaInterface<f32>,
pub fn color<Color>(self, color: Color) -> StrokeBrushChangerwhere
Color: RgbaInterface<f32>,
ChangeInterface color.
Sourcepub fn width(self, val: f32) -> StrokeBrushChanger
pub fn width(self, val: f32) -> StrokeBrushChanger
Width.
Trait Implementations§
Source§impl ChangerInterface for StrokeBrushChanger
impl ChangerInterface for StrokeBrushChanger
Source§type Parent = ContextChanger
type Parent = ContextChanger
Type of parent changer.
Source§type Root = ContextChanger
type Root = ContextChanger
Type of root changer.
Source§fn context(self) -> <StrokeBrushChanger as ChangerInterface>::Root
fn context(self) -> <StrokeBrushChanger as ChangerInterface>::Root
Get back to root changer.
Source§fn parent(&mut self) -> &mut <StrokeBrushChanger as ChangerInterface>::Parent
fn parent(&mut self) -> &mut <StrokeBrushChanger as ChangerInterface>::Parent
Get parent.
Source§fn end(self) -> <StrokeBrushChanger as ChangerInterface>::Parent
fn end(self) -> <StrokeBrushChanger as ChangerInterface>::Parent
Get back to parent changer.
Source§fn change_add<Change>(&mut self, change: Change) -> &mut Selfwhere
Change: ChangeInterface + 'static,
fn change_add<Change>(&mut self, change: Change) -> &mut Selfwhere
Change: ChangeInterface + 'static,
Add change.
Source§impl Clone for StrokeBrushChanger
impl Clone for StrokeBrushChanger
Source§fn clone(&self) -> StrokeBrushChanger
fn clone(&self) -> StrokeBrushChanger
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 StrokeBrushChanger
impl Debug for StrokeBrushChanger
Source§impl HasIdInterface for StrokeBrushChanger
impl HasIdInterface for StrokeBrushChanger
Auto Trait Implementations§
impl Freeze for StrokeBrushChanger
impl !RefUnwindSafe for StrokeBrushChanger
impl !Send for StrokeBrushChanger
impl !Sync for StrokeBrushChanger
impl Unpin for StrokeBrushChanger
impl !UnwindSafe for StrokeBrushChanger
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
Source§fn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.