Struct html_sys::text::OrderedList
source · #[non_exhaustive]pub struct OrderedList {
pub reversed: Option<Cow<'static, str>>,
pub start: Option<Cow<'static, str>>,
pub type_: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <ol>
element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.reversed: Option<Cow<'static, str>>
Number the list backwards
start: Option<Cow<'static, str>>
Starting value of the list
type_: Option<Cow<'static, str>>
Kind of list marker
Trait Implementations§
source§impl Clone for OrderedList
impl Clone for OrderedList
source§fn clone(&self) -> OrderedList
fn clone(&self) -> OrderedList
Returns a copy 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 OrderedList
impl Debug for OrderedList
source§impl Default for OrderedList
impl Default for OrderedList
source§fn default() -> OrderedList
fn default() -> OrderedList
Returns the “default value” for a type. Read more
source§impl Deref for OrderedList
impl Deref for OrderedList
source§impl DerefMut for OrderedList
impl DerefMut for OrderedList
source§impl Display for OrderedList
impl Display for OrderedList
source§impl PartialEq<OrderedList> for OrderedList
impl PartialEq<OrderedList> for OrderedList
source§fn eq(&self, other: &OrderedList) -> bool
fn eq(&self, other: &OrderedList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OrderedList> for OrderedList
impl PartialOrd<OrderedList> for OrderedList
source§fn partial_cmp(&self, other: &OrderedList) -> Option<Ordering>
fn partial_cmp(&self, other: &OrderedList) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more