pub enum CanonicalizationMode {
Inclusive,
InclusiveWithComments,
Inclusive11,
Inclusive11WithComments,
Exclusive,
ExclusiveWithComments,
}Expand description
Canonicalization mode wrapping the W3C C14N algorithm variants.
Variants§
Inclusive
Canonical XML 1.0 (inclusive).
InclusiveWithComments
Canonical XML 1.0 with comments (inclusive).
Inclusive11
Canonical XML 1.1 (inclusive).
Inclusive11WithComments
Canonical XML 1.1 with comments (inclusive).
Exclusive
Exclusive Canonical XML 1.0.
ExclusiveWithComments
Exclusive Canonical XML 1.0 with comments.
Trait Implementations§
Source§impl Clone for CanonicalizationMode
impl Clone for CanonicalizationMode
Source§fn clone(&self) -> CanonicalizationMode
fn clone(&self) -> CanonicalizationMode
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 Debug for CanonicalizationMode
impl Debug for CanonicalizationMode
Source§impl PartialEq for CanonicalizationMode
impl PartialEq for CanonicalizationMode
impl Copy for CanonicalizationMode
impl Eq for CanonicalizationMode
impl StructuralPartialEq for CanonicalizationMode
Auto Trait Implementations§
impl Freeze for CanonicalizationMode
impl RefUnwindSafe for CanonicalizationMode
impl Send for CanonicalizationMode
impl Sync for CanonicalizationMode
impl Unpin for CanonicalizationMode
impl UnsafeUnpin for CanonicalizationMode
impl UnwindSafe for CanonicalizationMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more