pub struct ScaleBorder { /* private fields */ }
Implementations§
§impl ScaleBorder
impl ScaleBorder
pub fn new() -> Self
pub fn get_color(&mut self) -> &mut String
pub fn color(self, value: impl Into<String>) -> ScaleBorder
pub fn get_dash(&mut self) -> &mut Vec<NumberString>
pub fn dash<T: Into<NumberString>>( self, value: impl IntoIterator<Item = T>, ) -> ScaleBorder
pub fn get_dash_offset(&mut self) -> &mut NumberString
pub fn dash_offset(self, value: impl Into<NumberString>) -> ScaleBorder
pub fn get_display(&mut self) -> &mut Option<bool>
pub fn display(self, value: impl Into<bool>) -> ScaleBorder
pub fn get_width(&mut self) -> &mut NumberString
pub fn width(self, value: impl Into<NumberString>) -> ScaleBorder
pub fn get_z(&mut self) -> &mut NumberString
pub fn z(self, value: impl Into<NumberString>) -> ScaleBorder
Trait Implementations§
Source§impl Clone for ScaleBorder
impl Clone for ScaleBorder
Source§fn clone(&self) -> ScaleBorder
fn clone(&self) -> ScaleBorder
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 ScaleBorder
impl Debug for ScaleBorder
Source§impl Default for ScaleBorder
impl Default for ScaleBorder
Source§fn default() -> ScaleBorder
fn default() -> ScaleBorder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScaleBorder
impl<'de> Deserialize<'de> for ScaleBorder
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 ScaleBorder
impl Ord for ScaleBorder
Source§fn cmp(&self, other: &ScaleBorder) -> Ordering
fn cmp(&self, other: &ScaleBorder) -> 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 ScaleBorder
impl PartialEq for ScaleBorder
Source§impl PartialOrd for ScaleBorder
impl PartialOrd for ScaleBorder
Source§impl Serialize for ScaleBorder
impl Serialize for ScaleBorder
impl Eq for ScaleBorder
impl StructuralPartialEq for ScaleBorder
Auto Trait Implementations§
impl Freeze for ScaleBorder
impl RefUnwindSafe for ScaleBorder
impl Send for ScaleBorder
impl Sync for ScaleBorder
impl Unpin for ScaleBorder
impl UnwindSafe for ScaleBorder
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