pub struct PlanningElementState {
pub focused: bool,
pub selected: bool,
pub enabled: bool,
pub checked: bool,
pub expanded: bool,
}Expand description
State flags that matter for planning. Strict subset of ElementState.
Fields§
§focused: bool§selected: bool§enabled: bool§checked: bool§expanded: boolTrait Implementations§
Source§impl Clone for PlanningElementState
impl Clone for PlanningElementState
Source§fn clone(&self) -> PlanningElementState
fn clone(&self) -> PlanningElementState
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 moreSource§impl Debug for PlanningElementState
impl Debug for PlanningElementState
Source§impl Default for PlanningElementState
impl Default for PlanningElementState
Source§fn default() -> PlanningElementState
fn default() -> PlanningElementState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanningElementState
impl<'de> Deserialize<'de> for PlanningElementState
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
Auto Trait Implementations§
impl Freeze for PlanningElementState
impl RefUnwindSafe for PlanningElementState
impl Send for PlanningElementState
impl Sync for PlanningElementState
impl Unpin for PlanningElementState
impl UnsafeUnpin for PlanningElementState
impl UnwindSafe for PlanningElementState
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