#[non_exhaustive]#[repr(u32)]pub enum pm_encoding_flags {
PM_ENCODING_FLAGS_FORCED_UTF8_ENCODING = 1,
PM_ENCODING_FLAGS_FORCED_BINARY_ENCODING = 2,
}Expand description
Flags for nodes that have unescaped content.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PM_ENCODING_FLAGS_FORCED_UTF8_ENCODING = 1
internal bytes forced the encoding to UTF-8
PM_ENCODING_FLAGS_FORCED_BINARY_ENCODING = 2
internal bytes forced the encoding to binary
Trait Implementations§
source§impl Clone for pm_encoding_flags
impl Clone for pm_encoding_flags
source§fn clone(&self) -> pm_encoding_flags
fn clone(&self) -> pm_encoding_flags
Returns a copy 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 pm_encoding_flags
impl Debug for pm_encoding_flags
source§impl Hash for pm_encoding_flags
impl Hash for pm_encoding_flags
source§impl PartialEq for pm_encoding_flags
impl PartialEq for pm_encoding_flags
source§fn eq(&self, other: &pm_encoding_flags) -> bool
fn eq(&self, other: &pm_encoding_flags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for pm_encoding_flags
impl Eq for pm_encoding_flags
impl StructuralPartialEq for pm_encoding_flags
Auto Trait Implementations§
impl RefUnwindSafe for pm_encoding_flags
impl Send for pm_encoding_flags
impl Sync for pm_encoding_flags
impl Unpin for pm_encoding_flags
impl UnwindSafe for pm_encoding_flags
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