pub struct AnnotStyle<M> {
pub caret: char,
pub text_normal_meta: M,
pub text_alt_meta: M,
pub line_meta: M,
}Expand description
The style of a particular annotation.
Fields§
§caret: charCaret character used to point to the annotated text.
text_normal_meta: MMetadata that accompanies annotated normal text.
text_alt_meta: MMetadata that accompanies annotated alternative text.
line_meta: MMetadata that accompanies annotation drawings.
Trait Implementations§
Source§impl<M: Clone> Clone for AnnotStyle<M>
impl<M: Clone> Clone for AnnotStyle<M>
Source§fn clone(&self) -> AnnotStyle<M>
fn clone(&self) -> AnnotStyle<M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<M: Debug> Debug for AnnotStyle<M>
impl<M: Debug> Debug for AnnotStyle<M>
Source§impl<M: PartialEq> PartialEq for AnnotStyle<M>
impl<M: PartialEq> PartialEq for AnnotStyle<M>
impl<M: Copy> Copy for AnnotStyle<M>
impl<M: Eq> Eq for AnnotStyle<M>
impl<M> StructuralPartialEq for AnnotStyle<M>
Auto Trait Implementations§
impl<M> Freeze for AnnotStyle<M>where
M: Freeze,
impl<M> RefUnwindSafe for AnnotStyle<M>where
M: RefUnwindSafe,
impl<M> Send for AnnotStyle<M>where
M: Send,
impl<M> Sync for AnnotStyle<M>where
M: Sync,
impl<M> Unpin for AnnotStyle<M>where
M: Unpin,
impl<M> UnwindSafe for AnnotStyle<M>where
M: 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
Mutably borrows from an owned value. Read more