Enum tor_netdoc::AllowAnnotations
source · [−]pub enum AllowAnnotations {
AnnotationsAllowed,
AnnotationsNotAllowed,
}
Expand description
Indicates whether we should parse an annotated list of objects or a non-annotated list.
Variants
AnnotationsAllowed
Parsing a document where items might be annotated.
Annotations are a list of zero or more items with keywords beginning with @ that precede the items that are actually part of the document.
AnnotationsNotAllowed
Parsing a document where annotations are not allowed.
Trait Implementations
sourceimpl Debug for AllowAnnotations
impl Debug for AllowAnnotations
sourceimpl PartialEq<AllowAnnotations> for AllowAnnotations
impl PartialEq<AllowAnnotations> for AllowAnnotations
impl Eq for AllowAnnotations
impl StructuralEq for AllowAnnotations
impl StructuralPartialEq for AllowAnnotations
Auto Trait Implementations
impl RefUnwindSafe for AllowAnnotations
impl Send for AllowAnnotations
impl Sync for AllowAnnotations
impl Unpin for AllowAnnotations
impl UnwindSafe for AllowAnnotations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more