#[repr(u32)]
#[non_exhaustive]
pub enum AVEscapeMode {
AV_ESCAPE_MODE_AUTO,
AV_ESCAPE_MODE_BACKSLASH,
AV_ESCAPE_MODE_QUOTE,
AV_ESCAPE_MODE_XML,
}
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.
AV_ESCAPE_MODE_AUTO
< Use auto-selected escaping mode.
AV_ESCAPE_MODE_BACKSLASH
< Use backslash escaping.
AV_ESCAPE_MODE_QUOTE
< Use single-quote escaping.
AV_ESCAPE_MODE_XML
< Use XML non-markup character data escaping.
Trait Implementations§
source§impl Clone for AVEscapeMode
impl Clone for AVEscapeMode
source§fn clone(&self) -> AVEscapeMode
fn clone(&self) -> AVEscapeMode
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 AVEscapeMode
impl Debug for AVEscapeMode
source§impl Hash for AVEscapeMode
impl Hash for AVEscapeMode
source§impl PartialEq<AVEscapeMode> for AVEscapeMode
impl PartialEq<AVEscapeMode> for AVEscapeMode
source§fn eq(&self, other: &AVEscapeMode) -> bool
fn eq(&self, other: &AVEscapeMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.