pub struct StyleSheet {
pub rules: Vec<Rule>,
pub keyframes: Vec<Keyframes>,
pub counter_styles: Vec<CounterStyleDef>,
pub font_faces: Vec<FontFaceDef>,
}Fields§
§rules: Vec<Rule>§keyframes: Vec<Keyframes>@keyframes 定義(name → キーフレーム列)。
counter_styles: Vec<CounterStyleDef>@counter-style 定義(name → カスタムカウンタ書式)。
font_faces: Vec<FontFaceDef>@font-face 定義(font-family名 → フォントファイルURL)。
Trait Implementations§
Source§impl Clone for StyleSheet
impl Clone for StyleSheet
Source§fn clone(&self) -> StyleSheet
fn clone(&self) -> StyleSheet
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 moreAuto Trait Implementations§
impl Freeze for StyleSheet
impl RefUnwindSafe for StyleSheet
impl Send for StyleSheet
impl Sync for StyleSheet
impl Unpin for StyleSheet
impl UnsafeUnpin for StyleSheet
impl UnwindSafe for StyleSheet
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