pub struct RectChanger { /* private fields */ }
Expand description
Command to draw rectangle.
Implementations§
Source§impl RectChanger
impl RectChanger
Sourcepub fn _new(draw: DrawChanger) -> RectChanger
pub fn _new(draw: DrawChanger) -> RectChanger
Constructor.
Sourcepub fn region(self, left_top: X2<f32>, right_bottom: X2<f32>) -> RectChanger
pub fn region(self, left_top: X2<f32>, right_bottom: X2<f32>) -> RectChanger
ChangeInterface region.
Sourcepub fn draw(self) -> DrawChanger
pub fn draw(self) -> DrawChanger
Get back to draw.
Sourcepub fn context(self) -> ContextChanger
pub fn context(self) -> ContextChanger
Get back to context.
Trait Implementations§
Source§impl ChangerInterface for RectChanger
impl ChangerInterface for RectChanger
Source§type Parent = DrawChanger
type Parent = DrawChanger
Type of parent changer.
Source§type Root = ContextChanger
type Root = ContextChanger
Type of root changer.
Source§fn context(self) -> <RectChanger as ChangerInterface>::Root
fn context(self) -> <RectChanger as ChangerInterface>::Root
Get back to root changer.
Source§fn parent(&mut self) -> &mut <RectChanger as ChangerInterface>::Parent
fn parent(&mut self) -> &mut <RectChanger as ChangerInterface>::Parent
Get parent.
Source§fn end(self) -> <RectChanger as ChangerInterface>::Parent
fn end(self) -> <RectChanger 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 RectChanger
impl Clone for RectChanger
Source§fn clone(&self) -> RectChanger
fn clone(&self) -> RectChanger
Returns a copy 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 RectChanger
impl Debug for RectChanger
Source§impl HasIdInterface for RectChanger
impl HasIdInterface for RectChanger
Auto Trait Implementations§
impl Freeze for RectChanger
impl !RefUnwindSafe for RectChanger
impl !Send for RectChanger
impl !Sync for RectChanger
impl Unpin for RectChanger
impl !UnwindSafe for RectChanger
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.