pub struct TextBorder {
pub border_type: BorderType,
pub size: usize,
pub color: String,
pub space: usize,
}
Fields§
§border_type: BorderType
§size: usize
§color: String
§space: usize
Implementations§
Trait Implementations§
Source§impl Clone for TextBorder
impl Clone for TextBorder
Source§fn clone(&self) -> TextBorder
fn clone(&self) -> TextBorder
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 TextBorder
impl Debug for TextBorder
Source§impl Default for TextBorder
impl Default for TextBorder
Source§impl<'de> Deserialize<'de> for TextBorder
impl<'de> Deserialize<'de> for TextBorder
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 PartialEq for TextBorder
impl PartialEq for TextBorder
Source§impl Serialize for TextBorder
impl Serialize for TextBorder
impl StructuralPartialEq for TextBorder
Auto Trait Implementations§
impl Freeze for TextBorder
impl RefUnwindSafe for TextBorder
impl Send for TextBorder
impl Sync for TextBorder
impl Unpin for TextBorder
impl UnwindSafe for TextBorder
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