pub struct PixelValueNoPercent(pub PixelValue);
Expand description
Same as PixelValue, but doesn’t allow a “%” sign
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl Clone for PixelValueNoPercent
impl Clone for PixelValueNoPercent
Source§fn clone(&self) -> PixelValueNoPercent
fn clone(&self) -> PixelValueNoPercent
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 PixelValueNoPercent
impl Debug for PixelValueNoPercent
Source§impl Default for PixelValueNoPercent
impl Default for PixelValueNoPercent
Source§fn default() -> PixelValueNoPercent
fn default() -> PixelValueNoPercent
Returns the “default value” for a type. Read more
Source§impl Display for PixelValueNoPercent
impl Display for PixelValueNoPercent
Source§impl Hash for PixelValueNoPercent
impl Hash for PixelValueNoPercent
Source§impl Ord for PixelValueNoPercent
impl Ord for PixelValueNoPercent
Source§fn cmp(&self, other: &PixelValueNoPercent) -> Ordering
fn cmp(&self, other: &PixelValueNoPercent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PixelValueNoPercent
impl PartialEq for PixelValueNoPercent
Source§impl PartialOrd for PixelValueNoPercent
impl PartialOrd for PixelValueNoPercent
impl Copy for PixelValueNoPercent
impl Eq for PixelValueNoPercent
impl StructuralPartialEq for PixelValueNoPercent
Auto Trait Implementations§
impl Freeze for PixelValueNoPercent
impl RefUnwindSafe for PixelValueNoPercent
impl Send for PixelValueNoPercent
impl Sync for PixelValueNoPercent
impl Unpin for PixelValueNoPercent
impl UnwindSafe for PixelValueNoPercent
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)