pub enum InternalWordAnnotation {
UrlSuffix(String),
}Expand description
An annotation attached to a given excerpt.
This should not be displayed directly to users, but instead should change some aspect of how that excerpt is rendered.
Variants§
Trait Implementations§
Source§impl Clone for InternalWordAnnotation
impl Clone for InternalWordAnnotation
Source§fn clone(&self) -> InternalWordAnnotation
fn clone(&self) -> InternalWordAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InternalWordAnnotation
impl Debug for InternalWordAnnotation
Source§impl<'de> Deserialize<'de> for InternalWordAnnotation
impl<'de> Deserialize<'de> for InternalWordAnnotation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InternalWordAnnotation
impl PartialEq for InternalWordAnnotation
Source§fn eq(&self, other: &InternalWordAnnotation) -> bool
fn eq(&self, other: &InternalWordAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InternalWordAnnotation
impl Serialize for InternalWordAnnotation
impl StructuralPartialEq for InternalWordAnnotation
Auto Trait Implementations§
impl Freeze for InternalWordAnnotation
impl RefUnwindSafe for InternalWordAnnotation
impl Send for InternalWordAnnotation
impl Sync for InternalWordAnnotation
impl Unpin for InternalWordAnnotation
impl UnwindSafe for InternalWordAnnotation
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