Enum svd_encoder::IdentifierFormat
source · pub enum IdentifierFormat {
Camel,
Pascal,
Snake,
Constant,
}Variants§
Camel
Camel case
aCamelCaseExample
Pascal
Pascal case
APascalCaseExample
Snake
Snake case
a_snake_case_example
Constant
Constant case
A_CONSTANT_CASE_EXAMPLE
Trait Implementations§
source§impl Clone for IdentifierFormat
impl Clone for IdentifierFormat
source§fn clone(&self) -> IdentifierFormat
fn clone(&self) -> IdentifierFormat
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 IdentifierFormat
impl Debug for IdentifierFormat
source§impl FromStr for IdentifierFormat
impl FromStr for IdentifierFormat
source§impl PartialEq<IdentifierFormat> for IdentifierFormat
impl PartialEq<IdentifierFormat> for IdentifierFormat
source§fn eq(&self, other: &IdentifierFormat) -> bool
fn eq(&self, other: &IdentifierFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for IdentifierFormat
impl Eq for IdentifierFormat
impl StructuralEq for IdentifierFormat
impl StructuralPartialEq for IdentifierFormat
Auto Trait Implementations§
impl RefUnwindSafe for IdentifierFormat
impl Send for IdentifierFormat
impl Sync for IdentifierFormat
impl Unpin for IdentifierFormat
impl UnwindSafe for IdentifierFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.