pub struct ImageLabReader;Expand description
The Bio-Rad Image Lab .scn reader.
Trait Implementations§
Source§impl Clone for ImageLabReader
impl Clone for ImageLabReader
impl Copy for ImageLabReader
Source§impl Debug for ImageLabReader
impl Debug for ImageLabReader
Source§impl Default for ImageLabReader
impl Default for ImageLabReader
Source§impl FormatReader for ImageLabReader
impl FormatReader for ImageLabReader
Source§fn assurance(&self) -> Option<&'static AssuranceProfile>
fn assurance(&self) -> Option<&'static AssuranceProfile>
The reader’s assurance profile (its crate’s
src/assurance.rs): how to fingerprint a
file’s variant and which variants the development corpus validates. None (the
default) makes every file of the format unvalidated.Source§fn descriptor(&self) -> FormatDescriptor
fn descriptor(&self) -> FormatDescriptor
Static description of the format (id, name, extensions, known gaps).
Source§fn sniff(&self, head: &[u8], path: &Path) -> Option<Detection>
fn sniff(&self, head: &[u8], path: &Path) -> Option<Detection>
Inspect the first bytes (up to 64 KiB) and the path; return
None if this is not ours.Source§fn open_input(&self, input: &Input) -> Result<Box<dyn Dataset>>
fn open_input(&self, input: &Input) -> Result<Box<dyn Dataset>>
Open an
Input: a local path, a buffer in memory, or a source the host provides.
Readers that read through Input::fs override it (and make open a thin wrapper);
the default opens local inputs by path and reports every other source as unsupported
(exit 6), so a reader that does not read through byte sources never touches the local disk
for a buffer that merely has the same name.Source§fn reads_any_source(&self) -> bool
fn reads_any_source(&self) -> bool
True when
open_input reads any Input (memory, host
callbacks), not only local paths.Auto Trait Implementations§
impl Freeze for ImageLabReader
impl RefUnwindSafe for ImageLabReader
impl Send for ImageLabReader
impl Sync for ImageLabReader
impl Unpin for ImageLabReader
impl UnsafeUnpin for ImageLabReader
impl UnwindSafe for ImageLabReader
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