Enum style::values::specified::text::TextOverflowSide
[−]
[src]
pub enum TextOverflowSide {
Clip,
Ellipsis,
String(Box<str>),
}A generic value for the text-overflow property.
Variants
ClipClip inline content.
EllipsisRender ellipsis to represent clipped inline content.
String(Box<str>)Render a given string to represent clipped inline content.
Trait Implementations
impl Clone for TextOverflowSide[src]
fn clone(&self) -> TextOverflowSide[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for TextOverflowSide[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for TextOverflowSide[src]
impl MallocSizeOf for TextOverflowSide[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl PartialEq for TextOverflowSide[src]
fn eq(&self, __arg_0: &TextOverflowSide) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TextOverflowSide) -> bool[src]
This method tests for !=.
impl ToCss for TextOverflowSide[src]
fn to_css<W>(&self, dest: &mut W) -> Result where
W: Write, [src]
W: Write,
Serialize self in CSS syntax, writing to dest.
fn to_css_string(&self) -> String[src]
Serialize self in CSS syntax and return a string. Read more
impl Parse for TextOverflowSide[src]
fn parse<'i, 't>(
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<TextOverflowSide, ParseError<'i>>[src]
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<TextOverflowSide, ParseError<'i>>
Parse a value of this type. Read more