Struct style::properties::generated::style_structs::List
source · pub struct List {
pub list_style_position: T,
pub list_style_type: T,
pub list_style_image: T,
pub quotes: T,
}
Expand description
The List style struct.
Fields§
§list_style_position: T
The list-style-position computed value.
list_style_type: T
The list-style-type computed value.
list_style_image: T
The list-style-image computed value.
quotes: T
The quotes computed value.
Implementations§
source§impl List
impl List
sourcepub fn set_list_style_position(&mut self, v: T)
pub fn set_list_style_position(&mut self, v: T)
Set list-style-position.
sourcepub fn copy_list_style_position_from(&mut self, other: &Self)
pub fn copy_list_style_position_from(&mut self, other: &Self)
Set list-style-position from other struct.
sourcepub fn reset_list_style_position(&mut self, other: &Self)
pub fn reset_list_style_position(&mut self, other: &Self)
Reset list-style-position from the initial struct.
sourcepub fn clone_list_style_position(&self) -> T
pub fn clone_list_style_position(&self) -> T
Get the computed value for list-style-position.
sourcepub fn set_list_style_type(&mut self, v: T)
pub fn set_list_style_type(&mut self, v: T)
Set list-style-type.
sourcepub fn copy_list_style_type_from(&mut self, other: &Self)
pub fn copy_list_style_type_from(&mut self, other: &Self)
Set list-style-type from other struct.
sourcepub fn reset_list_style_type(&mut self, other: &Self)
pub fn reset_list_style_type(&mut self, other: &Self)
Reset list-style-type from the initial struct.
sourcepub fn clone_list_style_type(&self) -> T
pub fn clone_list_style_type(&self) -> T
Get the computed value for list-style-type.
sourcepub fn set_list_style_image(&mut self, v: T)
pub fn set_list_style_image(&mut self, v: T)
Set list-style-image.
sourcepub fn copy_list_style_image_from(&mut self, other: &Self)
pub fn copy_list_style_image_from(&mut self, other: &Self)
Set list-style-image from other struct.
sourcepub fn reset_list_style_image(&mut self, other: &Self)
pub fn reset_list_style_image(&mut self, other: &Self)
Reset list-style-image from the initial struct.
sourcepub fn clone_list_style_image(&self) -> T
pub fn clone_list_style_image(&self) -> T
Get the computed value for list-style-image.
sourcepub fn set_quotes(&mut self, v: T)
pub fn set_quotes(&mut self, v: T)
Set quotes.
sourcepub fn copy_quotes_from(&mut self, other: &Self)
pub fn copy_quotes_from(&mut self, other: &Self)
Set quotes from other struct.
sourcepub fn reset_quotes(&mut self, other: &Self)
pub fn reset_quotes(&mut self, other: &Self)
Reset quotes from the initial struct.
sourcepub fn clone_quotes(&self) -> T
pub fn clone_quotes(&self) -> T
Get the computed value for quotes.
Trait Implementations§
source§impl MallocSizeOf for List
impl MallocSizeOf for List
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for List
impl PartialEq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert