pub struct VarDeclValue<T: ResolvedType = ()> {
pub eq_token: Arc<Token>,
pub value: NestedExpr<T>,
}
Fields§
§eq_token: Arc<Token>
§value: NestedExpr<T>
Trait Implementations§
Source§impl<T: Clone + ResolvedType> Clone for VarDeclValue<T>
impl<T: Clone + ResolvedType> Clone for VarDeclValue<T>
Source§fn clone(&self) -> VarDeclValue<T>
fn clone(&self) -> VarDeclValue<T>
Returns a copy 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<T: Debug + ResolvedType> Debug for VarDeclValue<T>
impl<T: Debug + ResolvedType> Debug for VarDeclValue<T>
Source§impl<T: ResolvedType> From<VarDeclValue> for VarDeclValue<Option<T>>
impl<T: ResolvedType> From<VarDeclValue> for VarDeclValue<Option<T>>
Source§fn from(value: VarDeclValue<()>) -> Self
fn from(value: VarDeclValue<()>) -> Self
Converts to this type from the input type.
Source§impl<T: PartialEq + ResolvedType> PartialEq for VarDeclValue<T>
impl<T: PartialEq + ResolvedType> PartialEq for VarDeclValue<T>
Source§impl<T: ResolvedType> Resolvable for VarDeclValue<Option<T>>
impl<T: ResolvedType> Resolvable for VarDeclValue<Option<T>>
fn is_resolved(&self) -> bool
fn is_signature_resolved(&self) -> bool
Source§impl<T: ResolvedType> TryFrom<VarDeclValue<Option<T>>> for VarDeclValue<T>
impl<T: ResolvedType> TryFrom<VarDeclValue<Option<T>>> for VarDeclValue<T>
impl<T: ResolvedType> StructuralPartialEq for VarDeclValue<T>
Auto Trait Implementations§
impl<T> Freeze for VarDeclValue<T>
impl<T> RefUnwindSafe for VarDeclValue<T>
impl<T> Send for VarDeclValue<T>where
T: Send,
impl<T> Sync for VarDeclValue<T>where
T: Send,
impl<T> Unpin for VarDeclValue<T>
impl<T> UnwindSafe for VarDeclValue<T>
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