pub struct RawThemeRule {
pub scope: Option<Value>,
pub settings: RawStyle,
}Expand description
One parsed TextMate theme rule.
Fields§
§scope: Option<Value>Optional selector string or selector array.
settings: RawStyleStyle settings.
Trait Implementations§
Source§impl Clone for RawThemeRule
impl Clone for RawThemeRule
Source§fn clone(&self) -> RawThemeRule
fn clone(&self) -> RawThemeRule
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 RawThemeRule
impl Debug for RawThemeRule
Source§impl Deserialize for RawThemeRule
impl Deserialize for RawThemeRule
Auto Trait Implementations§
impl Freeze for RawThemeRule
impl RefUnwindSafe for RawThemeRule
impl Send for RawThemeRule
impl Sync for RawThemeRule
impl Unpin for RawThemeRule
impl UnsafeUnpin for RawThemeRule
impl UnwindSafe for RawThemeRule
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