#[repr(C)]pub struct StyleLineClamp {
pub max_lines: usize,
}Expand description
line-clamp property for limiting visible lines
Fields§
§max_lines: usizeTrait Implementations§
Source§impl Clone for StyleLineClamp
impl Clone for StyleLineClamp
Source§fn clone(&self) -> StyleLineClamp
fn clone(&self) -> StyleLineClamp
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 StyleLineClamp
impl Debug for StyleLineClamp
Source§impl FormatAsRustCode for StyleLineClamp
impl FormatAsRustCode for StyleLineClamp
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleLineClamp> for CssProperty
impl From<StyleLineClamp> for CssProperty
Source§fn from(e: StyleLineClamp) -> Self
fn from(e: StyleLineClamp) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleLineClamp
impl Hash for StyleLineClamp
Source§impl Ord for StyleLineClamp
impl Ord for StyleLineClamp
Source§fn cmp(&self, other: &StyleLineClamp) -> Ordering
fn cmp(&self, other: &StyleLineClamp) -> 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 StyleLineClamp
impl PartialEq for StyleLineClamp
Source§impl PartialOrd for StyleLineClamp
impl PartialOrd for StyleLineClamp
Source§impl PrintAsCssValue for StyleLineClamp
impl PrintAsCssValue for StyleLineClamp
fn print_as_css_value(&self) -> String
impl Copy for StyleLineClamp
impl Eq for StyleLineClamp
impl StructuralPartialEq for StyleLineClamp
Auto Trait Implementations§
impl Freeze for StyleLineClamp
impl RefUnwindSafe for StyleLineClamp
impl Send for StyleLineClamp
impl Sync for StyleLineClamp
impl Unpin for StyleLineClamp
impl UnwindSafe for StyleLineClamp
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