pub struct SetBordersArgs {
pub key: SpanKey,
pub top: Option<Option<BorderArgs>>,
pub right: Option<Option<BorderArgs>>,
pub bottom: Option<Option<BorderArgs>>,
pub left: Option<Option<BorderArgs>>,
pub emit: bool,
pub undo: bool,
pub save_selection: bool,
}Fields§
§key: SpanKey§top: Option<Option<BorderArgs>>Some(Some(b)) = set top border, Some(None) = remove top border, None = leave unchanged
right: Option<Option<BorderArgs>>§bottom: Option<Option<BorderArgs>>§left: Option<Option<BorderArgs>>§emit: bool§undo: bool§save_selection: boolTrait Implementations§
Source§impl Clone for SetBordersArgs
impl Clone for SetBordersArgs
Source§fn clone(&self) -> SetBordersArgs
fn clone(&self) -> SetBordersArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetBordersArgs
impl Debug for SetBordersArgs
Source§impl Default for SetBordersArgs
impl Default for SetBordersArgs
Source§impl PartialEq for SetBordersArgs
impl PartialEq for SetBordersArgs
Source§fn eq(&self, other: &SetBordersArgs) -> bool
fn eq(&self, other: &SetBordersArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetBordersArgs
Auto Trait Implementations§
impl Freeze for SetBordersArgs
impl RefUnwindSafe for SetBordersArgs
impl Send for SetBordersArgs
impl Sync for SetBordersArgs
impl Unpin for SetBordersArgs
impl UnsafeUnpin for SetBordersArgs
impl UnwindSafe for SetBordersArgs
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