pub enum ClrAttributeValue {
String(String),
Int32(i32),
Boolean(bool),
Enum(String, i32),
Array(Vec<ClrAttributeValue>),
}Expand description
CLR attribute value representing a value that can be passed to an attribute.
Variants§
String(String)
String value.
Int32(i32)
32-bit integer value.
Boolean(bool)
Boolean value.
Enum(String, i32)
Enum value with type name and underlying value.
Array(Vec<ClrAttributeValue>)
Array of values.
Trait Implementations§
Source§impl Clone for ClrAttributeValue
impl Clone for ClrAttributeValue
Source§fn clone(&self) -> ClrAttributeValue
fn clone(&self) -> ClrAttributeValue
Returns a duplicate 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 ClrAttributeValue
impl Debug for ClrAttributeValue
Source§impl PartialEq for ClrAttributeValue
impl PartialEq for ClrAttributeValue
impl Eq for ClrAttributeValue
impl StructuralPartialEq for ClrAttributeValue
Auto Trait Implementations§
impl Freeze for ClrAttributeValue
impl RefUnwindSafe for ClrAttributeValue
impl Send for ClrAttributeValue
impl Sync for ClrAttributeValue
impl Unpin for ClrAttributeValue
impl UnsafeUnpin for ClrAttributeValue
impl UnwindSafe for ClrAttributeValue
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