pub struct DisruptionMode {
pub all: Option<AllDisruptionMode>,
pub single: Option<SingleDisruptionMode>,
}Expand description
DisruptionMode defines how individual entities within a group can be disrupted. Exactly one mode can be set.
Fields§
§all: Option<AllDisruptionMode>all specifies that all children can only be disrupted together.
single: Option<SingleDisruptionMode>single specifies that children can be disrupted independently from each other.
Trait Implementations§
Source§impl Clone for DisruptionMode
impl Clone for DisruptionMode
Source§impl Debug for DisruptionMode
impl Debug for DisruptionMode
Source§impl DeepMerge for DisruptionMode
impl DeepMerge for DisruptionMode
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for DisruptionMode
impl Default for DisruptionMode
Source§impl<'de> Deserialize<'de> for DisruptionMode
impl<'de> Deserialize<'de> for DisruptionMode
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 PartialEq for DisruptionMode
impl PartialEq for DisruptionMode
Source§impl Serialize for DisruptionMode
impl Serialize for DisruptionMode
impl StructuralPartialEq for DisruptionMode
Auto Trait Implementations§
impl Freeze for DisruptionMode
impl RefUnwindSafe for DisruptionMode
impl Send for DisruptionMode
impl Sync for DisruptionMode
impl Unpin for DisruptionMode
impl UnsafeUnpin for DisruptionMode
impl UnwindSafe for DisruptionMode
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