Struct rstk::canvas::TkCanvasArc
source · pub struct TkCanvasArc {
pub canvas: String,
pub id: String,
}
Expand description
Refers to a canvas arc
Fields§
§canvas: String
§id: String
Implementations§
source§impl TkCanvasArc
impl TkCanvasArc
sourcepub fn extent(&self, degrees: u64)
pub fn extent(&self, degrees: u64)
Extent is amount in degrees that arc extends counter-clockwise from its start angle.
sourcepub fn start(&self, degrees: u64)
pub fn start(&self, degrees: u64)
Start is starting angle in degrees, measured counter-clockwise from the 3 o’clock/x-axis position.
sourcepub fn style(&self, value: TkArcStyle)
pub fn style(&self, value: TkArcStyle)
Style in which to draw the arc: a pieslice, chord or arc-only.
Trait Implementations§
source§impl Clone for TkCanvasArc
impl Clone for TkCanvasArc
source§fn clone(&self) -> TkCanvasArc
fn clone(&self) -> TkCanvasArc
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 TkCanvasArc
impl Debug for TkCanvasArc
source§impl PartialEq for TkCanvasArc
impl PartialEq for TkCanvasArc
source§fn eq(&self, other: &TkCanvasArc) -> bool
fn eq(&self, other: &TkCanvasArc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TkCanvasItem for TkCanvasArc
impl TkCanvasItem for TkCanvasArc
source§impl TkCanvasTags for TkCanvasArc
impl TkCanvasTags for TkCanvasArc
impl StructuralPartialEq for TkCanvasArc
Auto Trait Implementations§
impl RefUnwindSafe for TkCanvasArc
impl Send for TkCanvasArc
impl Sync for TkCanvasArc
impl Unpin for TkCanvasArc
impl UnwindSafe for TkCanvasArc
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