pub struct AnnotationParameterValue { /* private fields */ }Implementations§
Source§impl AnnotationParameterValue
impl AnnotationParameterValue
pub fn new_boolean_value(value: bool) -> Self
pub fn is_boolean_value(&self) -> bool
pub fn as_boolean_value(&self) -> &bool
pub fn as_boolean_value_mut(&mut self) -> &mut bool
pub fn into_boolean_value(self) -> bool
pub fn new_byte_value(value: u8) -> Self
pub fn is_byte_value(&self) -> bool
pub fn as_byte_value(&self) -> &u8
pub fn as_byte_value_mut(&mut self) -> &mut u8
pub fn into_byte_value(self) -> u8
pub fn new_int16_value(value: i16) -> Self
pub fn is_int16_value(&self) -> bool
pub fn as_int16_value(&self) -> &i16
pub fn as_int16_value_mut(&mut self) -> &mut i16
pub fn into_int16_value(self) -> i16
pub fn new_uint_16_value(value: u16) -> Self
pub fn is_uint_16_value(&self) -> bool
pub fn as_uint_16_value(&self) -> &u16
pub fn as_uint_16_value_mut(&mut self) -> &mut u16
pub fn into_uint_16_value(self) -> u16
pub fn new_int32_value(value: i32) -> Self
pub fn is_int32_value(&self) -> bool
pub fn as_int32_value(&self) -> &i32
pub fn as_int32_value_mut(&mut self) -> &mut i32
pub fn into_int32_value(self) -> i32
pub fn new_uint32_value(value: u32) -> Self
pub fn is_uint32_value(&self) -> bool
pub fn as_uint32_value(&self) -> &u32
pub fn as_uint32_value_mut(&mut self) -> &mut u32
pub fn into_uint32_value(self) -> u32
pub fn new_int64_value(value: i64) -> Self
pub fn is_int64_value(&self) -> bool
pub fn as_int64_value(&self) -> &i64
pub fn as_int64_value_mut(&mut self) -> &mut i64
pub fn into_int64_value(self) -> i64
pub fn new_uint64_value(value: u64) -> Self
pub fn is_uint64_value(&self) -> bool
pub fn as_uint64_value(&self) -> &u64
pub fn as_uint64_value_mut(&mut self) -> &mut u64
pub fn into_uint64_value(self) -> u64
pub fn new_float32_value(value: f64) -> Self
pub fn is_float32_value(&self) -> bool
pub fn as_float32_value(&self) -> &f64
pub fn as_float32_value_mut(&mut self) -> &mut f64
pub fn into_float32_value(self) -> f64
pub fn new_float64_value(value: f64) -> Self
pub fn is_float64_value(&self) -> bool
pub fn as_float64_value(&self) -> &f64
pub fn as_float64_value_mut(&mut self) -> &mut f64
pub fn into_float64_value(self) -> f64
pub fn new_float128_value(value: f64) -> Self
pub fn is_float128_value(&self) -> bool
pub fn as_float128_value(&self) -> &f64
pub fn as_float128_value_mut(&mut self) -> &mut f64
pub fn into_float128_value(self) -> f64
pub fn new_char_value(value: char) -> Self
pub fn is_char_value(&self) -> bool
pub fn as_char_value(&self) -> &char
pub fn as_char_value_mut(&mut self) -> &mut char
pub fn into_char_value(self) -> char
pub fn new_wchar_value(value: char) -> Self
pub fn is_wchar_value(&self) -> bool
pub fn as_wchar_value(&self) -> &char
pub fn as_wchar_value_mut(&mut self) -> &mut char
pub fn into_wchar_value(self) -> char
pub fn new_enumerated_value(value: i32) -> Self
pub fn is_enumerated_value(&self) -> bool
pub fn as_enumerated_value(&self) -> &i32
pub fn as_enumerated_value_mut(&mut self) -> &mut i32
pub fn into_enumerated_value(self) -> i32
pub fn new_string8_value(value: String) -> Self
pub fn is_string8_value(&self) -> bool
pub fn as_string8_value(&self) -> &String
pub fn as_string8_value_mut(&mut self) -> &mut String
pub fn into_string8_value(self) -> String
pub fn new_string16_value(value: String) -> Self
pub fn is_string16_value(&self) -> bool
pub fn as_string16_value(&self) -> &String
pub fn as_string16_value_mut(&mut self) -> &mut String
pub fn into_string16_value(self) -> String
pub fn new_extended_value(value: ExtendedAnnotationParameterValue) -> Self
pub fn is_extended_value(&self) -> bool
pub fn as_extended_value(&self) -> &ExtendedAnnotationParameterValue
pub fn as_extended_value_mut(&mut self) -> &mut ExtendedAnnotationParameterValue
pub fn into_extended_value(self) -> ExtendedAnnotationParameterValue
pub fn tag(&self) -> &u8
Trait Implementations§
Source§impl Clone for AnnotationParameterValue
impl Clone for AnnotationParameterValue
Source§impl Debug for AnnotationParameterValue
impl Debug for AnnotationParameterValue
Source§impl Default for AnnotationParameterValue
impl Default for AnnotationParameterValue
Source§impl<'de> Deserialize<'de> for AnnotationParameterValue
impl<'de> Deserialize<'de> for AnnotationParameterValue
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 Drop for AnnotationParameterValue
impl Drop for AnnotationParameterValue
Source§impl PartialEq for AnnotationParameterValue
impl PartialEq for AnnotationParameterValue
Auto Trait Implementations§
impl Freeze for AnnotationParameterValue
impl RefUnwindSafe for AnnotationParameterValue
impl Send for AnnotationParameterValue
impl Sync for AnnotationParameterValue
impl Unpin for AnnotationParameterValue
impl UnsafeUnpin for AnnotationParameterValue
impl UnwindSafe for AnnotationParameterValue
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