Struct sic_image_engine::wrapper::image_path::ImageFromPath
source · pub struct ImageFromPath { /* private fields */ }
Implementations§
source§impl ImageFromPath
impl ImageFromPath
pub fn new(path: PathBuf) -> Self
pub fn open_image(&self) -> Result<SicImage, SicImageEngineError>
Trait Implementations§
source§impl Clone for ImageFromPath
impl Clone for ImageFromPath
source§fn clone(&self) -> ImageFromPath
fn clone(&self) -> ImageFromPath
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 ImageFromPath
impl Debug for ImageFromPath
source§impl PartialEq<ImageFromPath> for ImageFromPath
impl PartialEq<ImageFromPath> for ImageFromPath
source§fn eq(&self, other: &ImageFromPath) -> bool
fn eq(&self, other: &ImageFromPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImageFromPath
impl StructuralEq for ImageFromPath
impl StructuralPartialEq for ImageFromPath
Auto Trait Implementations§
impl RefUnwindSafe for ImageFromPath
impl Send for ImageFromPath
impl Sync for ImageFromPath
impl Unpin for ImageFromPath
impl UnwindSafe for ImageFromPath
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