pub struct ImageSpan {
pub offset: usize,
pub len: usize,
}Expand description
The byte range of the chosen image within the blob.
Fields§
§offset: usizeOffset of the image data.
len: usizeLength of the image data.
Trait Implementations§
impl Copy for ImageSpan
impl Eq for ImageSpan
impl StructuralPartialEq for ImageSpan
Auto Trait Implementations§
impl Freeze for ImageSpan
impl RefUnwindSafe for ImageSpan
impl Send for ImageSpan
impl Sync for ImageSpan
impl Unpin for ImageSpan
impl UnsafeUnpin for ImageSpan
impl UnwindSafe for ImageSpan
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more