pub struct LocalState { /* private fields */ }Expand description
The local states object represents the representation and visualisation within Touch Portal.
The id is the reference when used as a tag in text. The actual setting of the local states object when the event is triggered are described in the communication section.
Implementations§
Source§impl LocalState
impl LocalState
pub fn builder() -> LocalStateBuilder
Trait Implementations§
Source§impl Clone for LocalState
impl Clone for LocalState
Source§fn clone(&self) -> LocalState
fn clone(&self) -> LocalState
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalState
impl Debug for LocalState
Source§impl<'de> Deserialize<'de> for LocalState
impl<'de> Deserialize<'de> for LocalState
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 LocalState
impl RefUnwindSafe for LocalState
impl Send for LocalState
impl Sync for LocalState
impl Unpin for LocalState
impl UnwindSafe for LocalState
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