#[non_exhaustive]pub enum IndexTermRelationship<'a> {
See {
target: Vec<InlineNode<'a>>,
},
SeeAlso {
targets: Vec<Vec<InlineNode<'a>>>,
},
}Expand description
A relationship from an index entry to another index term.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
See
Readers should use the target term instead of this entry.
Fields
§
target: Vec<InlineNode<'a>>The replacement index term.
SeeAlso
Readers can also consult the related terms.
Fields
§
targets: Vec<Vec<InlineNode<'a>>>The related index terms.
Trait Implementations§
Source§impl<'a> Clone for IndexTermRelationship<'a>
impl<'a> Clone for IndexTermRelationship<'a>
Source§impl<'a> Debug for IndexTermRelationship<'a>
impl<'a> Debug for IndexTermRelationship<'a>
Source§impl<'a> PartialEq for IndexTermRelationship<'a>
impl<'a> PartialEq for IndexTermRelationship<'a>
Source§impl<'a> Serialize for IndexTermRelationship<'a>
impl<'a> Serialize for IndexTermRelationship<'a>
impl<'a> StructuralPartialEq for IndexTermRelationship<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndexTermRelationship<'a>
impl<'a> RefUnwindSafe for IndexTermRelationship<'a>
impl<'a> Send for IndexTermRelationship<'a>
impl<'a> Sync for IndexTermRelationship<'a>
impl<'a> Unpin for IndexTermRelationship<'a>
impl<'a> UnsafeUnpin for IndexTermRelationship<'a>
impl<'a> UnwindSafe for IndexTermRelationship<'a>
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