pub struct StyleSignal {
pub name: String,
pub value: String,
}Expand description
An observable style signal specific to a language.
Fields§
§name: StringHuman-readable signal name, e.g. "Quote Style".
value: StringDetected value, e.g. "Double quotes".
Trait Implementations§
Source§impl Clone for StyleSignal
impl Clone for StyleSignal
Source§fn clone(&self) -> StyleSignal
fn clone(&self) -> StyleSignal
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 StyleSignal
impl Debug for StyleSignal
Source§impl<'de> Deserialize<'de> for StyleSignal
impl<'de> Deserialize<'de> for StyleSignal
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 StyleSignal
impl RefUnwindSafe for StyleSignal
impl Send for StyleSignal
impl Sync for StyleSignal
impl Unpin for StyleSignal
impl UnsafeUnpin for StyleSignal
impl UnwindSafe for StyleSignal
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