pub struct StaticFieldEntry { /* private fields */ }
Expand description
The field type and value for a static field in a Class.
Implementations§
Source§impl StaticFieldEntry
impl StaticFieldEntry
pub fn name_id(&self) -> Id
pub fn field_type(&self) -> FieldType
pub fn value(&self) -> FieldValue
Trait Implementations§
Source§impl Clone for StaticFieldEntry
impl Clone for StaticFieldEntry
Source§fn clone(&self) -> StaticFieldEntry
fn clone(&self) -> StaticFieldEntry
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 StaticFieldEntry
impl Debug for StaticFieldEntry
impl Copy for StaticFieldEntry
Auto Trait Implementations§
impl Freeze for StaticFieldEntry
impl RefUnwindSafe for StaticFieldEntry
impl Send for StaticFieldEntry
impl Sync for StaticFieldEntry
impl Unpin for StaticFieldEntry
impl UnwindSafe for StaticFieldEntry
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