pub struct GraphicsRecord {
pub path: String,
pub origin: FlmOrigin,
pub file: Option<ImageFile>,
pub inspected: Option<GraphicsInspectedInformation>,
}Expand description
A GraphicsRecord contains what the inspect stage found out about one
image: its path, the origin of its source, the file that the graphics
resolver found, and the inspected information. The table INFO contains
the record of each image. See the record of an
image.
Fields§
§path: StringThe path of the image file, as written in the document.
origin: FlmOriginThe origin of the source in which the image is written, as passed to
the graphics resolver and to the inspector
(GraphicsInspectRequest::origin).
file: Option<ImageFile>The file that the graphics resolver found, without its content.
None if no graphics resolver is registered, if the resolver failed to
find the file, or if the path begins with a scheme.
inspected: Option<GraphicsInspectedInformation>The inspected information, with the resolution and the physical size
that the inspect stage filled in. None in the following cases:
- No inspector is registered.
- The inspector was not called, because the graphics resolver failed or because the path begins with a scheme.
- The inspector returned an error.
- The inspected information does not meet the requirements of
GraphicsInspector::inspect.
Trait Implementations§
Source§impl Clone for GraphicsRecord
impl Clone for GraphicsRecord
Source§impl Debug for GraphicsRecord
impl Debug for GraphicsRecord
impl Eq for GraphicsRecord
Source§impl PartialEq for GraphicsRecord
impl PartialEq for GraphicsRecord
impl StructuralPartialEq for GraphicsRecord
Auto Trait Implementations§
impl Forget for GraphicsRecord
impl Freeze for GraphicsRecord
impl Move for GraphicsRecord
impl RefUnwindSafe for GraphicsRecord
impl Send for GraphicsRecordwhere
RawVecInner: Send,
impl Sync for GraphicsRecordwhere
RawVecInner: Sync,
impl Unpin for GraphicsRecord
impl UnsafeUnpin for GraphicsRecordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>: UnsafeUnpin,
impl UnwindSafe for GraphicsRecordwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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