pub struct LashlangAbilities {
pub processes: bool,
pub sleep: bool,
pub process_signals: bool,
pub triggers: bool,
}Fields§
§processes: bool§sleep: bool§process_signals: bool§triggers: boolImplementations§
Source§impl LashlangAbilities
impl LashlangAbilities
pub fn union(self, other: Self) -> Self
pub fn satisfies(self, required: Self) -> bool
pub fn with_processes(self) -> Self
pub fn with_sleep(self) -> Self
pub fn with_process_signals(self) -> Self
pub fn with_triggers(self) -> Self
pub fn all() -> Self
Trait Implementations§
Source§impl Clone for LashlangAbilities
impl Clone for LashlangAbilities
Source§fn clone(&self) -> LashlangAbilities
fn clone(&self) -> LashlangAbilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LashlangAbilities
Source§impl Debug for LashlangAbilities
impl Debug for LashlangAbilities
Source§impl Default for LashlangAbilities
impl Default for LashlangAbilities
Source§fn default() -> LashlangAbilities
fn default() -> LashlangAbilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LashlangAbilitieswhere
LashlangAbilities: Default,
impl<'de> Deserialize<'de> for LashlangAbilitieswhere
LashlangAbilities: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LashlangAbilities
Source§impl PartialEq for LashlangAbilities
impl PartialEq for LashlangAbilities
Source§fn eq(&self, other: &LashlangAbilities) -> bool
fn eq(&self, other: &LashlangAbilities) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LashlangAbilities
impl Serialize for LashlangAbilities
impl StructuralPartialEq for LashlangAbilities
Auto Trait Implementations§
impl Freeze for LashlangAbilities
impl RefUnwindSafe for LashlangAbilities
impl Send for LashlangAbilities
impl Sync for LashlangAbilities
impl Unpin for LashlangAbilities
impl UnsafeUnpin for LashlangAbilities
impl UnwindSafe for LashlangAbilities
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