Struct parse::pool::ConstantField
source · pub struct ConstantField {
pub tag: ConstantTag,
pub class: Addressed<ConstantClass>,
pub name_and_type: Addressed<ConstantNameAndType>,
}
Fields§
§tag: ConstantTag
§class: Addressed<ConstantClass>
§name_and_type: Addressed<ConstantNameAndType>
Trait Implementations§
source§impl Clone for ConstantField
impl Clone for ConstantField
source§fn clone(&self) -> ConstantField
fn clone(&self) -> ConstantField
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 Debug for ConstantField
impl Debug for ConstantField
source§impl Resolvable<ConstantField> for Addressed<ConstantField>
impl Resolvable<ConstantField> for Addressed<ConstantField>
fn try_resolve(&self) -> Result<ConstantField>
fn resolve(&self) -> T
Auto Trait Implementations§
impl !RefUnwindSafe for ConstantField
impl Send for ConstantField
impl Sync for ConstantField
impl Unpin for ConstantField
impl !UnwindSafe for ConstantField
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