#[repr(C, u8)]pub enum ShapeInside {
None,
Shape(CssShape),
}Expand description
CSS shape-inside property for flowing text within shapes
Variants§
Trait Implementations§
Source§impl Clone for ShapeInside
impl Clone for ShapeInside
Source§fn clone(&self) -> ShapeInside
fn clone(&self) -> ShapeInside
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 ShapeInside
impl Debug for ShapeInside
Source§impl Default for ShapeInside
impl Default for ShapeInside
Source§fn default() -> ShapeInside
fn default() -> ShapeInside
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for ShapeInside
impl FormatAsRustCode for ShapeInside
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<ShapeInside> for CssProperty
impl From<ShapeInside> for CssProperty
Source§fn from(e: ShapeInside) -> Self
fn from(e: ShapeInside) -> Self
Converts to this type from the input type.
Source§impl Hash for ShapeInside
impl Hash for ShapeInside
Source§impl Ord for ShapeInside
impl Ord for ShapeInside
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 ShapeInside
impl PartialEq for ShapeInside
Source§fn eq(&self, other: &ShapeInside) -> bool
fn eq(&self, other: &ShapeInside) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ShapeInside
impl PartialOrd for ShapeInside
Source§impl PrintAsCssValue for ShapeInside
impl PrintAsCssValue for ShapeInside
fn print_as_css_value(&self) -> String
impl Eq for ShapeInside
impl StructuralPartialEq for ShapeInside
Auto Trait Implementations§
impl Freeze for ShapeInside
impl RefUnwindSafe for ShapeInside
impl Send for ShapeInside
impl Sync for ShapeInside
impl Unpin for ShapeInside
impl UnsafeUnpin for ShapeInside
impl UnwindSafe for ShapeInside
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