pub struct List {
pub list_style_image: T,
pub list_style_type: T,
pub quotes: T,
pub list_style_position: T,
}Expand description
The List style struct.
Fields§
§list_style_image: TThe list-style-image computed value.
list_style_type: TThe list-style-type computed value.
quotes: TThe quotes computed value.
list_style_position: TThe list-style-position computed value.
Implementations§
Source§impl List
impl List
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 get_list_style_image(&self) -> &T
pub fn get_list_style_image(&self) -> &T
Get a reference to the computed value for list-style-image.
Sourcepub fn slow_clone_list_style_image(&self) -> T
pub fn slow_clone_list_style_image(&self) -> T
Clone the computed value for list-style-image. Prefer
get_list_style_image where a reference is enough.
Sourcepub fn list_style_image_equals(&self, other: &Self) -> bool
pub fn list_style_image_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for list-style-image.
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 get_list_style_type(&self) -> &T
pub fn get_list_style_type(&self) -> &T
Get a reference to the computed value for list-style-type.
Sourcepub fn slow_clone_list_style_type(&self) -> T
pub fn slow_clone_list_style_type(&self) -> T
Clone the computed value for list-style-type. Prefer
get_list_style_type where a reference is enough.
Sourcepub fn list_style_type_equals(&self, other: &Self) -> bool
pub fn list_style_type_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for list-style-type.
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 get_quotes(&self) -> &T
pub fn get_quotes(&self) -> &T
Get a reference to the computed value for quotes.
Sourcepub fn slow_clone_quotes(&self) -> T
pub fn slow_clone_quotes(&self) -> T
Clone the computed value for quotes. Prefer
get_quotes where a reference is enough.
Sourcepub fn quotes_equals(&self, other: &Self) -> bool
pub fn quotes_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for quotes.
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 get_list_style_position(&self) -> &T
pub fn get_list_style_position(&self) -> &T
Get a reference to the computed value for list-style-position.
Sourcepub fn slow_clone_list_style_position(&self) -> T
pub fn slow_clone_list_style_position(&self) -> T
Clone the computed value for list-style-position. Prefer
get_list_style_position where a reference is enough.
Sourcepub fn list_style_position_equals(&self, other: &Self) -> bool
pub fn list_style_position_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for list-style-position.
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
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more