#[repr(C)]pub enum StyleUnicodeBidi {
Normal = 0,
Embed = 1,
Isolate = 2,
BidiOverride = 3,
IsolateOverride = 4,
Plaintext = 5,
}Expand description
Represents the unicode-bidi CSS property.
Controls how bidirectional text is handled within an element.
Variants§
Normal = 0
No additional level of embedding
Embed = 1
Open an additional level of embedding
Isolate = 2
Isolate the element from surrounding bidirectional text
BidiOverride = 3
Override the bidirectional algorithm for inline content
IsolateOverride = 4
Combine isolation and override
Plaintext = 5
Determine paragraph direction from content without bidi algorithm
Trait Implementations§
Source§impl Clone for StyleUnicodeBidi
impl Clone for StyleUnicodeBidi
Source§fn clone(&self) -> StyleUnicodeBidi
fn clone(&self) -> StyleUnicodeBidi
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 StyleUnicodeBidi
impl Debug for StyleUnicodeBidi
Source§impl Default for StyleUnicodeBidi
impl Default for StyleUnicodeBidi
Source§fn default() -> StyleUnicodeBidi
fn default() -> StyleUnicodeBidi
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for StyleUnicodeBidi
impl FormatAsRustCode for StyleUnicodeBidi
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleUnicodeBidi> for CssProperty
impl From<StyleUnicodeBidi> for CssProperty
Source§fn from(e: StyleUnicodeBidi) -> Self
fn from(e: StyleUnicodeBidi) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleUnicodeBidi
impl Hash for StyleUnicodeBidi
Source§impl Ord for StyleUnicodeBidi
impl Ord for StyleUnicodeBidi
Source§fn cmp(&self, other: &StyleUnicodeBidi) -> Ordering
fn cmp(&self, other: &StyleUnicodeBidi) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleUnicodeBidi
impl PartialEq for StyleUnicodeBidi
Source§fn eq(&self, other: &StyleUnicodeBidi) -> bool
fn eq(&self, other: &StyleUnicodeBidi) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleUnicodeBidi
impl PartialOrd for StyleUnicodeBidi
Source§impl PrintAsCssValue for StyleUnicodeBidi
impl PrintAsCssValue for StyleUnicodeBidi
fn print_as_css_value(&self) -> String
impl Copy for StyleUnicodeBidi
impl Eq for StyleUnicodeBidi
impl StructuralPartialEq for StyleUnicodeBidi
Auto Trait Implementations§
impl Freeze for StyleUnicodeBidi
impl RefUnwindSafe for StyleUnicodeBidi
impl Send for StyleUnicodeBidi
impl Sync for StyleUnicodeBidi
impl Unpin for StyleUnicodeBidi
impl UnsafeUnpin for StyleUnicodeBidi
impl UnwindSafe for StyleUnicodeBidi
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