pub struct HighlightAnnotation {
pub annotation: Annotation,
pub quad_points: QuadPoints,
}Expand description
Highlight annotation
Fields§
§annotation: AnnotationBase annotation
quad_points: QuadPointsQuad points defining highlighted areas
Implementations§
Source§impl HighlightAnnotation
impl HighlightAnnotation
Sourcepub fn to_annotation(self) -> Annotation
pub fn to_annotation(self) -> Annotation
Convert to annotation
Trait Implementations§
Source§impl Clone for HighlightAnnotation
impl Clone for HighlightAnnotation
Source§fn clone(&self) -> HighlightAnnotation
fn clone(&self) -> HighlightAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HighlightAnnotation
impl RefUnwindSafe for HighlightAnnotation
impl Send for HighlightAnnotation
impl Sync for HighlightAnnotation
impl Unpin for HighlightAnnotation
impl UnsafeUnpin for HighlightAnnotation
impl UnwindSafe for HighlightAnnotation
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