pub struct ComputedStyle {
pub direction: String,
pub writing_mode: String,
}Expand description
The properties of a computed style (CSSStyleDeclaration) that
@lexical/selection reads: direction and writingMode.
Fields§
§direction: Stringdirection: ltr or rtl.
writing_mode: StringwritingMode: horizontal-tb, vertical-rl…
Trait Implementations§
Source§impl Clone for ComputedStyle
impl Clone for ComputedStyle
Source§impl Debug for ComputedStyle
impl Debug for ComputedStyle
Source§impl Default for ComputedStyle
impl Default for ComputedStyle
impl Eq for ComputedStyle
Source§impl PartialEq for ComputedStyle
impl PartialEq for ComputedStyle
impl StructuralPartialEq for ComputedStyle
Auto Trait Implementations§
impl Forget for ComputedStyle
impl Freeze for ComputedStyle
impl Move for ComputedStyle
impl RefUnwindSafe for ComputedStyle
impl Send for ComputedStyle
impl Sync for ComputedStyle
impl Unpin for ComputedStyle
impl UnsafeUnpin for ComputedStyle
impl UnwindSafe for ComputedStyle
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