pub struct BorderSegmentCacheKey {
    pub size: LayoutSizeAu,
    pub radius: LayoutSizeAu,
    pub side0: BorderSideAu,
    pub side1: BorderSideAu,
    pub segment: BorderSegment,
    pub do_aa: bool,
    pub h_adjacent_corner_outer: LayoutPointAu,
    pub h_adjacent_corner_radius: LayoutSizeAu,
    pub v_adjacent_corner_outer: LayoutPointAu,
    pub v_adjacent_corner_radius: LayoutSizeAu,
}Expand description
Cache key that uniquely identifies a border segment in the render task cache.
Fields§
§size: LayoutSizeAu§radius: LayoutSizeAu§side0: BorderSideAu§side1: BorderSideAu§segment: BorderSegment§do_aa: bool§h_adjacent_corner_outer: LayoutPointAu§h_adjacent_corner_radius: LayoutSizeAu§v_adjacent_corner_outer: LayoutPointAu§v_adjacent_corner_radius: LayoutSizeAuTrait Implementations§
Source§impl Clone for BorderSegmentCacheKey
 
impl Clone for BorderSegmentCacheKey
Source§fn clone(&self) -> BorderSegmentCacheKey
 
fn clone(&self) -> BorderSegmentCacheKey
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 BorderSegmentCacheKey
 
impl Debug for BorderSegmentCacheKey
Source§impl Hash for BorderSegmentCacheKey
 
impl Hash for BorderSegmentCacheKey
Source§impl MallocSizeOf for BorderSegmentCacheKey
 
impl MallocSizeOf for BorderSegmentCacheKey
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
 
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for BorderSegmentCacheKey
 
impl PartialEq for BorderSegmentCacheKey
Source§impl Serialize for BorderSegmentCacheKey
 
impl Serialize for BorderSegmentCacheKey
impl Eq for BorderSegmentCacheKey
impl StructuralPartialEq for BorderSegmentCacheKey
Auto Trait Implementations§
impl Freeze for BorderSegmentCacheKey
impl RefUnwindSafe for BorderSegmentCacheKey
impl Send for BorderSegmentCacheKey
impl Sync for BorderSegmentCacheKey
impl Unpin for BorderSegmentCacheKey
impl UnwindSafe for BorderSegmentCacheKey
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more