pub struct CopyInOneFile {
pub output: String,
pub path: String,
}Expand description
The error that is reported when the strategy copy is set for an output
that consists of a single file (id flm.graphics.copy-in-one-file).
The strategy copy adds a copy of each image file to the output. It
requires an output that can contain several files, such as the html
output. The plain-text output text consists of a single file
(OutputImages::artifacts).
Reported by the publish stage of the output (PublishStage) for each
image. The output then refers to the image as under the strategy
reference: by the address of the file that the graphics resolver
returned, or by its path as written in the document if no graphics resolver
found the file.
Fields§
§output: StringThe name of the output, which is the name of its backend.
path: StringThe path of the image file, as written in the document.
Implementations§
Source§impl CopyInOneFile
impl CopyInOneFile
Trait Implementations§
Source§impl Clone for CopyInOneFile
impl Clone for CopyInOneFile
Source§impl Debug for CopyInOneFile
impl Debug for CopyInOneFile
Source§impl DiagnosticInfo for CopyInOneFile
impl DiagnosticInfo for CopyInOneFile
Source§const IDENTIFIER: &'static str = "flm.graphics.copy-in-one-file"
const IDENTIFIER: &'static str = "flm.graphics.copy-in-one-file"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for CopyInOneFile
impl Display for CopyInOneFile
impl Eq for CopyInOneFile
Source§impl PartialEq for CopyInOneFile
impl PartialEq for CopyInOneFile
impl StructuralPartialEq for CopyInOneFile
Auto Trait Implementations§
impl Forget for CopyInOneFile
impl Freeze for CopyInOneFile
impl Move for CopyInOneFile
impl RefUnwindSafe for CopyInOneFile
impl Send for CopyInOneFilewhere
RawVecInner: Send,
impl Sync for CopyInOneFilewhere
RawVecInner: Sync,
impl Unpin for CopyInOneFile
impl UnsafeUnpin for CopyInOneFile
impl UnwindSafe for CopyInOneFilewhere
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<T> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).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