pub trait ObjectFlagAccess {
// Required methods
fn set_flag(&self, sub: u8);
fn get_flag(&self, sub: u8) -> bool;
fn clear(&self);
}Expand description
Trait for accessing object flags
Required Methods§
Sourcefn set_flag(&self, sub: u8)
fn set_flag(&self, sub: u8)
Set the flag for the specified sub object
The flag is set on the currently active flag set