Struct gpui2::EdgesRefinement
source · pub struct EdgesRefinement<T: Clone + Default + Debug> {
pub top: Option<T>,
pub right: Option<T>,
pub bottom: Option<T>,
pub left: Option<T>,
}
Fields§
§top: Option<T>
§right: Option<T>
§bottom: Option<T>
§left: Option<T>
Implementations§
Trait Implementations§
source§impl<T: Clone + Clone + Default + Debug> Clone for EdgesRefinement<T>
impl<T: Clone + Clone + Default + Debug> Clone for EdgesRefinement<T>
source§fn clone(&self) -> EdgesRefinement<T>
fn clone(&self) -> EdgesRefinement<T>
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<T: Clone + Default + Debug> From<EdgesRefinement<T>> for Edges<T>where
Option<T>: Clone,
impl<T: Clone + Default + Debug> From<EdgesRefinement<T>> for Edges<T>where Option<T>: Clone,
source§fn from(value: EdgesRefinement<T>) -> Self
fn from(value: EdgesRefinement<T>) -> Self
Converts to this type from the input type.
source§impl<T: Clone + Default + Debug> Refineable for EdgesRefinement<T>where
Option<T>: Clone,
impl<T: Clone + Default + Debug> Refineable for EdgesRefinement<T>where Option<T>: Clone,
type Refinement = EdgesRefinement<T>
fn refine(&mut self, refinement: &Self::Refinement)
fn refined(self, refinement: Self::Refinement) -> Self
fn from_cascade(cascade: &Cascade<Self>) -> Selfwhere Self: Default + Sized,
Auto Trait Implementations§
impl<T> RefUnwindSafe for EdgesRefinement<T>where T: RefUnwindSafe,
impl<T> Send for EdgesRefinement<T>where T: Send,
impl<T> Sync for EdgesRefinement<T>where T: Sync,
impl<T> Unpin for EdgesRefinement<T>where T: Unpin,
impl<T> UnwindSafe for EdgesRefinement<T>where T: UnwindSafe,
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