Struct svd_parser::svd::enumeratedvalue::EnumeratedValue [−][src]
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
String describing the semantics of the value. Can be displayed instead of the value
description: Option<String>
Extended string describing the value
value: Option<u64>
Defines the constant for the bit-field as decimal, hexadecimal or binary number
is_default: Option<bool>
Defines the name and description for all other values that are not listed explicitly
Trait Implementations
impl Clone for EnumeratedValue
[src]
fn clone(&self) -> EnumeratedValue
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EnumeratedValue
[src]
impl Encode for EnumeratedValue
[src]
impl Parse for EnumeratedValue
[src]
type Object = Self
Object returned by parse method
type Error = Error
Parsing error
fn parse(tree: &Element) -> Result<Self>
[src]
impl PartialEq<EnumeratedValue> for EnumeratedValue
[src]
fn eq(&self, other: &EnumeratedValue) -> bool
[src]
fn ne(&self, other: &EnumeratedValue) -> bool
[src]
impl StructuralPartialEq for EnumeratedValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnumeratedValue
impl Send for EnumeratedValue
impl Sync for EnumeratedValue
impl Unpin for EnumeratedValue
impl UnwindSafe for EnumeratedValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,