pub enum OnLinePosKind {
Percentage,
Pixels,
}
Expand description
This only is used to communicate the kind of OnLinePos
we are using
Variants§
Percentage
A number from 0.0 to 100.0
Pixels
This tells to you that OnLinePos
is storing the position in pixels directly
Trait Implementations§
Source§impl Clone for OnLinePosKind
impl Clone for OnLinePosKind
Source§fn clone(&self) -> OnLinePosKind
fn clone(&self) -> OnLinePosKind
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 OnLinePosKind
impl Debug for OnLinePosKind
Source§impl Default for OnLinePosKind
impl Default for OnLinePosKind
Source§fn default() -> OnLinePosKind
fn default() -> OnLinePosKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnLinePosKind
impl PartialEq for OnLinePosKind
Source§impl PartialOrd for OnLinePosKind
impl PartialOrd for OnLinePosKind
Source§impl TryFrom<&str> for OnLinePosKind
impl TryFrom<&str> for OnLinePosKind
impl Copy for OnLinePosKind
impl StructuralPartialEq for OnLinePosKind
Auto Trait Implementations§
impl Freeze for OnLinePosKind
impl RefUnwindSafe for OnLinePosKind
impl Send for OnLinePosKind
impl Sync for OnLinePosKind
impl Unpin for OnLinePosKind
impl UnwindSafe for OnLinePosKind
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