Enum tk::types::TkDistance
source · pub enum TkDistance {
Pixels(c_double),
Centimeters(c_double),
Inches(c_double),
Millimeters(c_double),
PrinterPoints(c_double),
}
Variants§
Pixels(c_double)
Centimeters(c_double)
Inches(c_double)
Millimeters(c_double)
PrinterPoints(c_double)
Trait Implementations§
source§impl Display for TkDistance
impl Display for TkDistance
source§impl From<TkDistance> for Obj
impl From<TkDistance> for Obj
source§fn from(distance: TkDistance) -> Obj
fn from(distance: TkDistance) -> Obj
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TkDistance
impl Send for TkDistance
impl Sync for TkDistance
impl Unpin for TkDistance
impl UnwindSafe for TkDistance
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