Struct plot_interface::orphan::ContextChanger
source · [−]pub struct ContextChanger {
pub changes: Vec<Box<dyn ChangeInterface + 'static, Global>, Global>,
/* private fields */
}
Expand description
Context.
Fields
changes: Vec<Box<dyn ChangeInterface + 'static, Global>, Global>
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 root(&mut self) -> &mut <ContextChanger as ChangerInterface>::Root
fn root(&mut self) -> &mut <ContextChanger as ChangerInterface>::Root
Get root.
sourcefn context(self) -> <ContextChanger as ChangerInterface>::Root
fn context(self) -> <ContextChanger as ChangerInterface>::Root
Get back to root changer.
sourcefn parent(&mut self) -> &mut <ContextChanger as ChangerInterface>::Parent
fn parent(&mut self) -> &mut <ContextChanger as ChangerInterface>::Parent
Get parent.
sourcefn end(self) -> <ContextChanger as ChangerInterface>::Parent
fn end(self) -> <ContextChanger as ChangerInterface>::Parent
Get back to parent changer.
sourcefn change_add<Change>(&mut self, change: Change) -> &mut ContextChanger where
Change: 'static + ChangeInterface,
fn change_add<Change>(&mut self, change: Change) -> &mut ContextChanger where
Change: 'static + ChangeInterface,
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.