Struct red4ext_rs::types::FunctionFlags
source · pub struct FunctionFlags(/* private fields */);
Expand description
Flags for a function.
Implementations§
source§impl FunctionFlags
impl FunctionFlags
pub fn is_native(&self) -> bool
pub fn set_is_native(&mut self, is_native: bool)
pub fn is_static(&self) -> bool
pub fn set_is_static(&mut self, is_static: bool)
pub fn is_final(&self) -> bool
pub fn set_is_final(&mut self, is_final: bool)
pub fn is_event(&self) -> bool
pub fn set_is_event(&mut self, is_event: bool)
Trait Implementations§
source§impl Clone for FunctionFlags
impl Clone for FunctionFlags
source§fn clone(&self) -> FunctionFlags
fn clone(&self) -> FunctionFlags
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 FunctionFlags
impl Debug for FunctionFlags
source§impl Default for FunctionFlags
impl Default for FunctionFlags
source§fn default() -> FunctionFlags
fn default() -> FunctionFlags
Returns the “default value” for a type. Read more
impl Copy for FunctionFlags
Auto Trait Implementations§
impl Freeze for FunctionFlags
impl RefUnwindSafe for FunctionFlags
impl Send for FunctionFlags
impl Sync for FunctionFlags
impl Unpin for FunctionFlags
impl UnwindSafe for FunctionFlags
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