Struct red4ext_rs::types::ClassFlags
source · pub struct ClassFlags(/* private fields */);
Expand description
Flags for a class type.
Implementations§
source§impl ClassFlags
impl ClassFlags
pub fn is_abstract(&self) -> bool
pub fn set_is_abstract(&mut self, is_abstract: bool)
pub fn is_native(&self) -> bool
pub fn set_is_native(&mut self, is_native: bool)
pub fn is_scripted_class(&self) -> bool
pub fn set_is_scripted_class(&mut self, is_scripted_class: bool)
pub fn is_scripted_struct(&self) -> bool
pub fn set_is_scripted_struct(&mut self, is_scripted_struct: bool)
pub fn has_no_default_object_serialization(&self) -> bool
pub fn set_has_no_default_object_serialization( &mut self, has_no_default_object_serialization: bool, )
pub fn is_always_transient(&self) -> bool
pub fn set_is_always_transient(&mut self, is_always_transient: bool)
pub fn is_import_only(&self) -> bool
pub fn set_is_import_only(&mut self, is_import_only: bool)
pub fn is_private(&self) -> bool
pub fn set_is_private(&mut self, is_private: bool)
pub fn is_protected(&self) -> bool
pub fn set_is_protected(&mut self, is_protected: bool)
pub fn is_test_only(&self) -> bool
pub fn set_is_test_only(&mut self, is_test_only: bool)
pub fn is_savable(&self) -> bool
pub fn set_is_savable(&mut self, is_savable: bool)
Trait Implementations§
source§impl Clone for ClassFlags
impl Clone for ClassFlags
source§fn clone(&self) -> ClassFlags
fn clone(&self) -> ClassFlags
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 ClassFlags
impl Debug for ClassFlags
source§impl Default for ClassFlags
impl Default for ClassFlags
source§fn default() -> ClassFlags
fn default() -> ClassFlags
Returns the “default value” for a type. Read more
impl Copy for ClassFlags
Auto Trait Implementations§
impl Freeze for ClassFlags
impl RefUnwindSafe for ClassFlags
impl Send for ClassFlags
impl Sync for ClassFlags
impl Unpin for ClassFlags
impl UnwindSafe for ClassFlags
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