Struct wplot::ContextChanger
source · [−]pub struct ContextChanger {
pub changes: Vec<Box<dyn ChangeInterface>>,
/* private fields */
}Expand description
Context.
Fields
changes: Vec<Box<dyn ChangeInterface>>Queue of changes.
Implementations
sourceimpl ContextChanger
impl ContextChanger
sourcepub fn stroke(self) -> StrokeBrushChanger
pub fn stroke(self) -> StrokeBrushChanger
Parameters of stroke.
sourcepub fn draw(self) -> DrawChanger
pub fn draw(self) -> DrawChanger
Draw.
Trait Implementations
sourceimpl ChangerInterface for ContextChanger
impl ChangerInterface for ContextChanger
type Parent = ContextChanger
type Parent = ContextChanger
Type of parent changer.
type Root = ContextChanger
type Root = ContextChanger
Type of root changer.
sourcefn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: ChangeInterface + 'static,
fn change_add<Change>(&mut self, change: Change) -> &mut Self where
Change: ChangeInterface + 'static,
Add change.
sourceimpl Clone for ContextChanger
impl Clone for ContextChanger
sourcefn clone(&self) -> ContextChanger
fn clone(&self) -> ContextChanger
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 ContextChanger
impl Debug for ContextChanger
sourceimpl HasIdInterface for ContextChanger
impl HasIdInterface for ContextChanger
Auto Trait Implementations
impl !RefUnwindSafe for ContextChanger
impl !Send for ContextChanger
impl !Sync for ContextChanger
impl Unpin for ContextChanger
impl !UnwindSafe for ContextChanger
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.
