#[repr(C)]pub struct StyleHyphenationLanguage {
pub inner: AzString,
}Expand description
-azul-hyphenation-language property: specifies language for hyphenation
This property defines the language code (BCP 47 format) used for automatic hyphenation. Examples: “en-US”, “de-DE”, “fr-FR”
§Example
.element {
-azul-hyphenation-language: "en-US";
}Fields§
§inner: AzStringImplementations§
Source§impl StyleHyphenationLanguage
impl StyleHyphenationLanguage
pub const fn is_initial(&self) -> bool
Trait Implementations§
Source§impl Clone for StyleHyphenationLanguage
impl Clone for StyleHyphenationLanguage
Source§fn clone(&self) -> StyleHyphenationLanguage
fn clone(&self) -> StyleHyphenationLanguage
Returns a duplicate of the value. Read more
1.0.0 · 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 StyleHyphenationLanguage
impl Debug for StyleHyphenationLanguage
Source§impl Default for StyleHyphenationLanguage
impl Default for StyleHyphenationLanguage
Source§impl FormatAsCssValue for StyleHyphenationLanguage
impl FormatAsCssValue for StyleHyphenationLanguage
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl FormatAsRustCode for StyleHyphenationLanguage
impl FormatAsRustCode for StyleHyphenationLanguage
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleHyphenationLanguage> for CssProperty
impl From<StyleHyphenationLanguage> for CssProperty
Source§fn from(e: StyleHyphenationLanguage) -> Self
fn from(e: StyleHyphenationLanguage) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleHyphenationLanguage
impl Hash for StyleHyphenationLanguage
Source§impl Ord for StyleHyphenationLanguage
impl Ord for StyleHyphenationLanguage
Source§fn cmp(&self, other: &StyleHyphenationLanguage) -> Ordering
fn cmp(&self, other: &StyleHyphenationLanguage) -> Ordering
1.21.0 · 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 StyleHyphenationLanguage
impl PartialEq for StyleHyphenationLanguage
Source§impl PartialOrd for StyleHyphenationLanguage
impl PartialOrd for StyleHyphenationLanguage
Source§impl PrintAsCssValue for StyleHyphenationLanguage
impl PrintAsCssValue for StyleHyphenationLanguage
fn print_as_css_value(&self) -> String
impl Eq for StyleHyphenationLanguage
impl StructuralPartialEq for StyleHyphenationLanguage
Auto Trait Implementations§
impl Freeze for StyleHyphenationLanguage
impl RefUnwindSafe for StyleHyphenationLanguage
impl Send for StyleHyphenationLanguage
impl Sync for StyleHyphenationLanguage
impl Unpin for StyleHyphenationLanguage
impl UnwindSafe for StyleHyphenationLanguage
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