pub enum AnnotationData {
Text(String),
Binary(Vec<u8>),
}Expand description
TS Annotation.data = string | Uint8Array.
Variants§
Trait Implementations§
Source§impl Clone for AnnotationData
impl Clone for AnnotationData
Source§fn clone(&self) -> AnnotationData
fn clone(&self) -> AnnotationData
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 AnnotationData
impl RefUnwindSafe for AnnotationData
impl Send for AnnotationData
impl Sync for AnnotationData
impl Unpin for AnnotationData
impl UnsafeUnpin for AnnotationData
impl UnwindSafe for AnnotationData
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