pub struct OverflowWrap(/* private fields */);Expand description
Controls how text should be overflowed.
Trait Implementations§
Source§impl Clone for OverflowWrap
impl Clone for OverflowWrap
Source§fn clone(&self) -> OverflowWrap
fn clone(&self) -> OverflowWrap
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 moreimpl Copy for OverflowWrap
Source§impl Debug for OverflowWrap
impl Debug for OverflowWrap
Source§impl Default for OverflowWrap
impl Default for OverflowWrap
Source§fn default() -> OverflowWrap
fn default() -> OverflowWrap
Returns the “default value” for a type. Read more
Source§impl From<OverflowWrap> for OverflowWrap
impl From<OverflowWrap> for OverflowWrap
Source§fn from(value: OverflowWrap) -> Self
fn from(value: OverflowWrap) -> Self
Converts to this type from the input type.
Source§impl<'i> FromCss<'i> for OverflowWrap
impl<'i> FromCss<'i> for OverflowWrap
Source§const VALID_TOKENS: &'static [CssToken]
const VALID_TOKENS: &'static [CssToken]
Returns the list of valid CSS tokens for this type.
Source§fn from_css(input: &mut Parser<'i, '_>) -> ParseResult<'i, Self>
fn from_css(input: &mut Parser<'i, '_>) -> ParseResult<'i, Self>
Parses the type from a
Parser instance.Source§fn from_str(source: &'i str) -> ParseResult<'i, Self>where
Self: Sized,
fn from_str(source: &'i str) -> ParseResult<'i, Self>where
Self: Sized,
Helper function to parse the type from a string.
Source§const EXPECT_MESSAGE: CssExpectedMessage = CssExpectedMessage::OneValue
const EXPECT_MESSAGE: CssExpectedMessage = CssExpectedMessage::OneValue
Message template used when building parse errors for this type.
Source§impl PartialEq for OverflowWrap
impl PartialEq for OverflowWrap
Source§fn eq(&self, other: &OverflowWrap) -> bool
fn eq(&self, other: &OverflowWrap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OverflowWrap
Auto Trait Implementations§
impl Freeze for OverflowWrap
impl RefUnwindSafe for OverflowWrap
impl Send for OverflowWrap
impl Sync for OverflowWrap
impl Unpin for OverflowWrap
impl UnsafeUnpin for OverflowWrap
impl UnwindSafe for OverflowWrap
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