pub enum SGroups {
Single(SActorType),
Multiple(Vec<SActorType>),
}Variants§
Single(SActorType)
Multiple(Vec<SActorType>)
Implementations§
source§impl SGroups
impl SGroups
sourcepub const fn is_single(&self) -> bool
pub const fn is_single(&self) -> bool
Returns true if the enum is SGroups::Single otherwise false
sourcepub const fn is_multiple(&self) -> bool
pub const fn is_multiple(&self) -> bool
Returns true if the enum is SGroups::Multiple otherwise false
Trait Implementations§
source§impl<'de> Deserialize<'de> for SGroups
impl<'de> Deserialize<'de> for SGroups
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
source§impl FromIterator<String> for SGroups
impl FromIterator<String> for SGroups
source§impl PartialOrd<Vec<SActorType>> for SGroups
impl PartialOrd<Vec<SActorType>> for SGroups
source§impl PartialOrd for SGroups
impl PartialOrd for SGroups
impl Eq for SGroups
impl StructuralPartialEq for SGroups
Auto Trait Implementations§
impl Freeze for SGroups
impl RefUnwindSafe for SGroups
impl Send for SGroups
impl Sync for SGroups
impl Unpin for SGroups
impl UnwindSafe for SGroups
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)