Struct simics_macro::attr_value::IntoAttrValueListOpts
source · struct IntoAttrValueListOpts {
ident: Ident,
generics: Generics,
data: Data<(), IntoAttrValueField>,
}
Expand description
A structure that can be converted into an AttrValue
list
Fields§
§ident: Ident
§generics: Generics
§data: Data<(), IntoAttrValueField>
Trait Implementations§
source§impl Debug for IntoAttrValueListOpts
impl Debug for IntoAttrValueListOpts
source§impl FromDeriveInput for IntoAttrValueListOpts
impl FromDeriveInput for IntoAttrValueListOpts
source§fn from_derive_input(__di: &DeriveInput) -> Result<Self>
fn from_derive_input(__di: &DeriveInput) -> Result<Self>
Create an instance from
syn::DeriveInput
, or return an error.source§impl ToTokens for IntoAttrValueListOpts
impl ToTokens for IntoAttrValueListOpts
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for IntoAttrValueListOpts
impl RefUnwindSafe for IntoAttrValueListOpts
impl !Send for IntoAttrValueListOpts
impl !Sync for IntoAttrValueListOpts
impl Unpin for IntoAttrValueListOpts
impl UnwindSafe for IntoAttrValueListOpts
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Spanned for T
impl<T> Spanned for T
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.