pub struct TypedConst {
pub ast: Const,
pub ty: ResolvedType,
}Fields§
§ast: Const§ty: ResolvedTypeTrait Implementations§
Source§impl Clone for TypedConst
impl Clone for TypedConst
Source§fn clone(&self) -> TypedConst
fn clone(&self) -> TypedConst
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 moreAuto Trait Implementations§
impl Freeze for TypedConst
impl RefUnwindSafe for TypedConst
impl Send for TypedConst
impl Sync for TypedConst
impl Unpin for TypedConst
impl UnwindSafe for TypedConst
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