pub enum AnnotationParams {
ConstExpr(ConstExpr),
Params(Vec<AnnotationParam>),
Raw(String),
}Variants§
Trait Implementations§
Source§impl Clone for AnnotationParams
impl Clone for AnnotationParams
Source§fn clone(&self) -> AnnotationParams
fn clone(&self) -> AnnotationParams
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 AnnotationParams
impl Debug for AnnotationParams
Source§impl<'de> Deserialize<'de> for AnnotationParams
impl<'de> Deserialize<'de> for AnnotationParams
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 From<AnnotationParams> for AnnotationParams
impl From<AnnotationParams> for AnnotationParams
Source§fn from(value: AnnotationParams) -> Self
fn from(value: AnnotationParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnnotationParams
impl RefUnwindSafe for AnnotationParams
impl Send for AnnotationParams
impl Sync for AnnotationParams
impl Unpin for AnnotationParams
impl UnsafeUnpin for AnnotationParams
impl UnwindSafe for AnnotationParams
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