#[repr(C)]pub enum BreakInside {
Auto = 0,
Avoid = 1,
AvoidPage = 2,
AvoidColumn = 3,
}Expand description
Represents a break-inside CSS property value.
Variants§
Trait Implementations§
Source§impl Clone for BreakInside
impl Clone for BreakInside
Source§fn clone(&self) -> BreakInside
fn clone(&self) -> BreakInside
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 BreakInside
impl Debug for BreakInside
Source§impl Default for BreakInside
impl Default for BreakInside
Source§impl FormatAsRustCode for BreakInside
impl FormatAsRustCode for BreakInside
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<BreakInside> for CssProperty
impl From<BreakInside> for CssProperty
Source§fn from(e: BreakInside) -> Self
fn from(e: BreakInside) -> Self
Converts to this type from the input type.
Source§impl Hash for BreakInside
impl Hash for BreakInside
Source§impl Ord for BreakInside
impl Ord for BreakInside
Source§fn cmp(&self, other: &BreakInside) -> Ordering
fn cmp(&self, other: &BreakInside) -> 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 BreakInside
impl PartialEq for BreakInside
Source§impl PartialOrd for BreakInside
impl PartialOrd for BreakInside
Source§impl PrintAsCssValue for BreakInside
impl PrintAsCssValue for BreakInside
fn print_as_css_value(&self) -> String
impl Copy for BreakInside
impl Eq for BreakInside
impl StructuralPartialEq for BreakInside
Auto Trait Implementations§
impl Freeze for BreakInside
impl RefUnwindSafe for BreakInside
impl Send for BreakInside
impl Sync for BreakInside
impl Unpin for BreakInside
impl UnwindSafe for BreakInside
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