Struct svd2rust::config::IdentFormats
source · pub struct IdentFormats {
pub field_reader: IdentFormat,
pub field_writer: IdentFormat,
pub enum_name: IdentFormat,
pub enum_write_name: IdentFormat,
pub enum_value: IdentFormat,
pub interrupt: IdentFormat,
pub cluster: IdentFormat,
pub register: IdentFormat,
pub register_spec: IdentFormat,
pub peripheral: IdentFormat,
}
Fields§
§field_reader: IdentFormat
§field_writer: IdentFormat
§enum_name: IdentFormat
§enum_write_name: IdentFormat
§enum_value: IdentFormat
§interrupt: IdentFormat
§cluster: IdentFormat
§register: IdentFormat
§register_spec: IdentFormat
§peripheral: IdentFormat
Trait Implementations§
source§impl Clone for IdentFormats
impl Clone for IdentFormats
source§fn clone(&self) -> IdentFormats
fn clone(&self) -> IdentFormats
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 IdentFormats
impl Debug for IdentFormats
source§impl Default for IdentFormats
impl Default for IdentFormats
source§impl<'de> Deserialize<'de> for IdentFormatswhere
IdentFormats: Default,
impl<'de> Deserialize<'de> for IdentFormatswhere
IdentFormats: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IdentFormats
impl PartialEq for IdentFormats
source§fn eq(&self, other: &IdentFormats) -> bool
fn eq(&self, other: &IdentFormats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IdentFormats
impl StructuralEq for IdentFormats
impl StructuralPartialEq for IdentFormats
Auto Trait Implementations§
impl RefUnwindSafe for IdentFormats
impl Send for IdentFormats
impl Sync for IdentFormats
impl Unpin for IdentFormats
impl UnwindSafe for IdentFormats
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.