pub struct BarElementConfiguration { /* private fields */ }
Implementations§
§impl BarElementConfiguration
impl BarElementConfiguration
pub fn new() -> Self
pub fn get_border_radius(&mut self) -> &mut NumberString
pub fn border_radius( self, value: impl Into<NumberString>, ) -> BarElementConfiguration
pub fn get_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>
pub fn border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> BarElementConfiguration
pub fn get_fill(&mut self) -> &mut Option<bool>
pub fn fill(self, value: impl Into<bool>) -> BarElementConfiguration
pub fn get_hover_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>
pub fn hover_border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> BarElementConfiguration
Trait Implementations§
Source§impl Clone for BarElementConfiguration
impl Clone for BarElementConfiguration
Source§fn clone(&self) -> BarElementConfiguration
fn clone(&self) -> BarElementConfiguration
Returns a duplicate 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 BarElementConfiguration
impl Debug for BarElementConfiguration
Source§impl Default for BarElementConfiguration
impl Default for BarElementConfiguration
Source§fn default() -> BarElementConfiguration
fn default() -> BarElementConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BarElementConfiguration
impl<'de> Deserialize<'de> for BarElementConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for BarElementConfiguration
impl Ord for BarElementConfiguration
Source§fn cmp(&self, other: &BarElementConfiguration) -> Ordering
fn cmp(&self, other: &BarElementConfiguration) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BarElementConfiguration
impl PartialEq for BarElementConfiguration
Source§impl PartialOrd for BarElementConfiguration
impl PartialOrd for BarElementConfiguration
Source§impl Serialize for BarElementConfiguration
impl Serialize for BarElementConfiguration
impl Eq for BarElementConfiguration
impl StructuralPartialEq for BarElementConfiguration
Auto Trait Implementations§
impl Freeze for BarElementConfiguration
impl RefUnwindSafe for BarElementConfiguration
impl Send for BarElementConfiguration
impl Sync for BarElementConfiguration
impl Unpin for BarElementConfiguration
impl UnwindSafe for BarElementConfiguration
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