Struct darling_core::util::WithOriginal [−][src]
pub struct WithOriginal<T, O> { pub parsed: T, pub original: O, }
A container to parse some syntax and retain access to the original.
Fields
parsed: T
original: O
Implementations
Trait Implementations
impl<T: Clone, O: Clone> Clone for WithOriginal<T, O>
[src]
impl<T: Clone, O: Clone> Clone for WithOriginal<T, O>
[src]fn clone(&self) -> WithOriginal<T, O>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug, O: Debug> Debug for WithOriginal<T, O>
[src]
impl<T: Debug, O: Debug> Debug for WithOriginal<T, O>
[src]impl<T: FromDeriveInput> FromDeriveInput for WithOriginal<T, DeriveInput>
[src]
impl<T: FromDeriveInput> FromDeriveInput for WithOriginal<T, DeriveInput>
[src]fn from_derive_input(value: &DeriveInput) -> Result<Self>
[src]
impl<T: FromField> FromField for WithOriginal<T, Field>
[src]
impl<T: FromField> FromField for WithOriginal<T, Field>
[src]fn from_field(value: &Field) -> Result<Self>
[src]
impl<T: FromGenericParam> FromGenericParam for WithOriginal<T, GenericParam>
[src]
impl<T: FromGenericParam> FromGenericParam for WithOriginal<T, GenericParam>
[src]fn from_generic_param(value: &GenericParam) -> Result<Self>
[src]
impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>
[src]
impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>
[src]fn from_generics(value: &Generics) -> Result<Self>
[src]
impl<T: FromMeta> FromMeta for WithOriginal<T, Meta>
[src]
impl<T: FromMeta> FromMeta for WithOriginal<T, Meta>
[src]fn from_meta(value: &Meta) -> Result<Self>
[src]
fn from_nested_meta(item: &NestedMeta) -> Result<Self>
[src]
fn from_word() -> Result<Self>
[src]
fn from_list(items: &[NestedMeta]) -> Result<Self>
[src]
fn from_value(value: &Lit) -> Result<Self>
[src]
fn from_char(value: char) -> Result<Self>
[src]
fn from_string(value: &str) -> Result<Self>
[src]
fn from_bool(value: bool) -> Result<Self>
[src]
impl<T: FromTypeParam> FromTypeParam for WithOriginal<T, TypeParam>
[src]
impl<T: FromTypeParam> FromTypeParam for WithOriginal<T, TypeParam>
[src]fn from_type_param(value: &TypeParam) -> Result<Self>
[src]
impl<T: FromVariant> FromVariant for WithOriginal<T, Variant>
[src]
impl<T: FromVariant> FromVariant for WithOriginal<T, Variant>
[src]fn from_variant(value: &Variant) -> Result<Self>
[src]
impl<T: PartialEq, O: PartialEq> PartialEq<WithOriginal<T, O>> for WithOriginal<T, O>
[src]
impl<T: PartialEq, O: PartialEq> PartialEq<WithOriginal<T, O>> for WithOriginal<T, O>
[src]fn eq(&self, other: &WithOriginal<T, O>) -> bool
[src]
fn ne(&self, other: &WithOriginal<T, O>) -> bool
[src]
impl<T: Eq, O: Eq> Eq for WithOriginal<T, O>
[src]
impl<T, O> StructuralEq for WithOriginal<T, O>
[src]
impl<T, O> StructuralPartialEq for WithOriginal<T, O>
[src]
Auto Trait Implementations
impl<T, O> RefUnwindSafe for WithOriginal<T, O> where
O: RefUnwindSafe,
T: RefUnwindSafe,
O: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, O> Send for WithOriginal<T, O> where
O: Send,
T: Send,
O: Send,
T: Send,
impl<T, O> Sync for WithOriginal<T, O> where
O: Sync,
T: Sync,
O: Sync,
T: Sync,
impl<T, O> Unpin for WithOriginal<T, O> where
O: Unpin,
T: Unpin,
O: Unpin,
T: Unpin,
impl<T, O> UnwindSafe for WithOriginal<T, O> where
O: UnwindSafe,
T: UnwindSafe,
O: UnwindSafe,
T: UnwindSafe,