pub struct DeftermElement;Expand description
The data of the element value of DEFTERM, and the aspects it
implements: a block, with one reference point (Referenceable) and its
fields kept apart from its text (ApartFromText). See the module
documentation.
Trait Implementations§
Source§impl ApartFromText for DeftermElement
A term definition’s fields, its \label{…} and \aliasterm{…}, are not
part of its text: they label it.
impl ApartFromText for DeftermElement
A term definition’s fields, its \label{…} and \aliasterm{…}, are not
part of its text: they label it.
Source§fn apart_from_text(&self, _node: &NodeRef<'_, Flm>) -> Vec<ContentRef>
fn apart_from_text(&self, _node: &NodeRef<'_, Flm>) -> Vec<ContentRef>
node.Source§impl Clone for DeftermElement
impl Clone for DeftermElement
impl Copy for DeftermElement
Source§impl Debug for DeftermElement
impl Debug for DeftermElement
impl Eq for DeftermElement
Source§impl PartialEq for DeftermElement
impl PartialEq for DeftermElement
Source§impl Referenceable for DeftermElement
One reference point per term definition: the term’s computed label, each
alias’s, then the labels the author wrote. The computed labels are counted
as such (RefPoint::computed), so that the types LABEL_TYPES the
point accepts apply to the written labels alone. The point’s content is
the term, and it is anchored on its first label: the label computed from
the term, or, where the term is empty (and so computes no label), the
first alias’s label or the first written label.
impl Referenceable for DeftermElement
One reference point per term definition: the term’s computed label, each
alias’s, then the labels the author wrote. The computed labels are counted
as such (RefPoint::computed), so that the types LABEL_TYPES the
point accepts apply to the written labels alone. The point’s content is
the term, and it is anchored on its first label: the label computed from
the term, or, where the term is empty (and so computes no label), the
first alias’s label or the first written label.
impl StructuralPartialEq for DeftermElement
Auto Trait Implementations§
impl Forget for DeftermElement
impl Freeze for DeftermElement
impl Move for DeftermElement
impl RefUnwindSafe for DeftermElement
impl Send for DeftermElement
impl Sync for DeftermElement
impl Unpin for DeftermElement
impl UnsafeUnpin for DeftermElement
impl UnwindSafe for DeftermElement
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