pub struct GraphicsImage;Expand description
The data of the element value of \includegraphics (IMAGE_ELEMENT).
This type implements the two aspects of the element. An aspect is a piece of behavior attached to an element (elements and aspects).
BlockRoleAspect: an image is a block when it is a direct child of the body of a float, and inline content everywhere else.ApartFromText: the options and the path of an image are not part of the text in which the image is written.
Trait Implementations§
Source§impl ApartFromText for GraphicsImage
Returns the options argument OPTIONS_ARG and the path argument
PATH_ARG: neither is part of the text in which the image is written.
For instance, the identifier of a heading whose title contains an image is
computed from the other words of the title. The alternative text is part
of the options argument, and is therefore left out as well.
impl ApartFromText for GraphicsImage
Returns the options argument OPTIONS_ARG and the path argument
PATH_ARG: neither is part of the text in which the image is written.
For instance, the identifier of a heading whose title contains an image is
computed from the other words of the title. The alternative text is part
of the options argument, and is therefore left out as well.
Source§fn apart_from_text(&self, _node: &NodeRef<'_, Flm>) -> Vec<ContentRef>
fn apart_from_text(&self, _node: &NodeRef<'_, Flm>) -> Vec<ContentRef>
node.Source§impl BlockRoleAspect for GraphicsImage
An image is a block when it is a direct child of the body of a float, that
is, of a node of the element FLOAT (flm.floats.float) of the floats
feature, whatever its float type. Everywhere else, an image is inline
content, for instance in a sentence, in the title of a heading, in a
caption, or in a paragraph of the body of a float. Without the floats
feature, every image is inline content.
impl BlockRoleAspect for GraphicsImage
An image is a block when it is a direct child of the body of a float, that
is, of a node of the element FLOAT (flm.floats.float) of the floats
feature, whatever its float type. Everywhere else, an image is inline
content, for instance in a sentence, in the title of a heading, in a
caption, or in a paragraph of the body of a float. Without the floats
feature, every image is inline content.
Source§impl Clone for GraphicsImage
impl Clone for GraphicsImage
impl Copy for GraphicsImage
Source§impl Debug for GraphicsImage
impl Debug for GraphicsImage
Source§impl Default for GraphicsImage
impl Default for GraphicsImage
impl Eq for GraphicsImage
Source§impl PartialEq for GraphicsImage
impl PartialEq for GraphicsImage
impl StructuralPartialEq for GraphicsImage
Auto Trait Implementations§
impl Forget for GraphicsImage
impl Freeze for GraphicsImage
impl Move for GraphicsImage
impl RefUnwindSafe for GraphicsImage
impl Send for GraphicsImage
impl Sync for GraphicsImage
impl Unpin for GraphicsImage
impl UnsafeUnpin for GraphicsImage
impl UnwindSafe for GraphicsImage
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