pub struct SourceImage {
pub source_name: String,
pub path: PathBuf,
pub project_path: String,
pub relative_path: PathBuf,
pub output_root: PathBuf,
pub output_root_project_path: String,
pub width: u32,
pub height: u32,
pub bytes: u64,
pub hash: String,
pub format: FormatKind,
}Fields§
§source_name: String§path: PathBuf§project_path: String§relative_path: PathBuf§output_root: PathBuf§output_root_project_path: String§width: u32§height: u32§bytes: u64§hash: String§format: FormatKindTrait Implementations§
Source§impl Clone for SourceImage
impl Clone for SourceImage
Auto Trait Implementations§
impl Forget for SourceImage
impl Freeze for SourceImage
impl Move for SourceImage
impl RefUnwindSafe for SourceImage
impl Send for SourceImage
impl Sync for SourceImage
impl Unpin for SourceImage
impl UnsafeUnpin for SourceImage
impl UnwindSafe for SourceImage
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