pub struct Constant {
pub value: Value,
pub go_type: Option<SimpleKind>,
}Fields§
§value: Value§go_type: Option<SimpleKind>Trait Implementations§
impl StructuralPartialEq for Constant
Auto Trait Implementations§
impl Forget for Constant
impl Freeze for Constant
impl Move for Constant
impl RefUnwindSafe for Constant
impl Send for Constantwhere
RawVecInner: Send,
impl Sync for Constantwhere
RawVecInner: Sync,
impl Unpin for Constant
impl UnsafeUnpin for Constant
impl UnwindSafe for Constantwhere
RawVecInner: UnwindSafe,
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