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§impl Debug for StyleSheet
impl Debug for StyleSheet
Source§impl PartialEq for StyleSheet
impl PartialEq for StyleSheet
impl StructuralPartialEq for StyleSheet
Auto 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