Struct red4ext_rs::types::Property
source · pub struct Property(/* private fields */);
Expand description
An RTTI representation of a property.
Implementations§
source§impl Property
impl Property
pub fn new( name: &CStr, group: &CStr, type_: &Type, parent: &Class, offset: u32, ) -> PoolRef<Self>
pub fn name(&self) -> CName
pub fn flags(&self) -> PropertyFlags
pub fn set_flags(&mut self, flags: PropertyFlags)
pub fn type_(&self) -> &Type
pub fn value_offset(&self) -> u32
pub unsafe fn value(&self, container: ValueContainer) -> ValuePtr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Property
impl !RefUnwindSafe for Property
impl !Send for Property
impl !Sync for Property
impl Unpin for Property
impl !UnwindSafe for Property
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