Struct oxygengine::core::scripting::intuicio::prelude::StructField
pub struct StructField {
pub meta: Option<Meta>,
pub name: String,
pub visibility: Visibility,
/* private fields */
}
Fields§
§meta: Option<Meta>
§name: String
§visibility: Visibility
Implementations§
§impl StructField
impl StructField
pub fn new( name: impl ToString, struct_handle: Arc<Struct, Global> ) -> StructField
pub fn with_meta(self, meta: Meta) -> StructField
pub fn with_visibility(self, visibility: Visibility) -> StructField
pub fn address_offset(&self) -> usize
pub fn struct_handle(&self) -> &Arc<Struct, Global>
Trait Implementations§
§impl Debug for StructField
impl Debug for StructField
§impl PartialEq<StructField> for StructField
impl PartialEq<StructField> for StructField
§fn eq(&self, other: &StructField) -> bool
fn eq(&self, other: &StructField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
impl RefUnwindSafe for StructField
impl Send for StructField
impl Sync for StructField
impl Unpin for StructField
impl UnwindSafe for StructField
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