pub struct ResolvedToneSpan {
pub index: usize,
pub byte_offset: usize,
pub byte_length: usize,
pub pixel_offset: usize,
pub pixel_count: usize,
pub base: [u8; 3],
pub luma_tolerance: u8,
pub bits_per_pixel: u8,
pub ordering: ToneOrdering,
}Fields§
§index: usize§byte_offset: usize§byte_length: usize§pixel_offset: usize§pixel_count: usize§base: [u8; 3]§luma_tolerance: u8§bits_per_pixel: u8§ordering: ToneOrderingTrait Implementations§
Source§impl Clone for ResolvedToneSpan
impl Clone for ResolvedToneSpan
Source§fn clone(&self) -> ResolvedToneSpan
fn clone(&self) -> ResolvedToneSpan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedToneSpan
impl Debug for ResolvedToneSpan
Source§impl<'de> Deserialize<'de> for ResolvedToneSpan
impl<'de> Deserialize<'de> for ResolvedToneSpan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolvedToneSpan
Source§impl PartialEq for ResolvedToneSpan
impl PartialEq for ResolvedToneSpan
Source§fn eq(&self, other: &ResolvedToneSpan) -> bool
fn eq(&self, other: &ResolvedToneSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResolvedToneSpan
impl Serialize for ResolvedToneSpan
impl StructuralPartialEq for ResolvedToneSpan
Auto Trait Implementations§
impl Freeze for ResolvedToneSpan
impl RefUnwindSafe for ResolvedToneSpan
impl Send for ResolvedToneSpan
impl Sync for ResolvedToneSpan
impl Unpin for ResolvedToneSpan
impl UnsafeUnpin for ResolvedToneSpan
impl UnwindSafe for ResolvedToneSpan
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