Struct html_sys::text::OrderedList
source · #[non_exhaustive]pub struct OrderedList {
pub data_map: DataMap,
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.data_map: DataMap
§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 RenderElement for OrderedList
impl RenderElement for OrderedList
impl StructuralPartialEq for OrderedList
Auto Trait Implementations§
impl RefUnwindSafe for OrderedList
impl Send for OrderedList
impl Sync for OrderedList
impl Unpin for OrderedList
impl UnwindSafe for OrderedList
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