pub struct ElectronEdit {
pub set_manual: Option<bool>,
pub set_enhanced: Option<bool>,
pub restore: FlagState,
pub previous: FlagState,
}Expand description
What to write on attach, and what to write back on teardown.
Fields§
§set_manual: Option<bool>Set AXManualAccessibility to this value. None means leave it alone.
set_enhanced: Option<bool>Set AXEnhancedUserInterface to this value. None means leave it alone.
restore: FlagStateValues to restore. Only fields we changed are Some.
previous: FlagStateValues observed before the edit.
Trait Implementations§
Source§impl Clone for ElectronEdit
impl Clone for ElectronEdit
Source§impl Debug for ElectronEdit
impl Debug for ElectronEdit
Source§impl<'de> Deserialize<'de> for ElectronEdit
impl<'de> Deserialize<'de> for ElectronEdit
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 ElectronEdit
Source§impl PartialEq for ElectronEdit
impl PartialEq for ElectronEdit
Source§impl Serialize for ElectronEdit
impl Serialize for ElectronEdit
impl StructuralPartialEq for ElectronEdit
Auto Trait Implementations§
impl Freeze for ElectronEdit
impl RefUnwindSafe for ElectronEdit
impl Send for ElectronEdit
impl Sync for ElectronEdit
impl Unpin for ElectronEdit
impl UnsafeUnpin for ElectronEdit
impl UnwindSafe for ElectronEdit
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.