Struct webrender::prim_store::borders::NormalBorderPrim
source · pub struct NormalBorderPrim {
pub border: NormalBorderAu,
pub widths: LayoutSideOffsetsAu,
}
Fields§
§border: NormalBorderAu
§widths: LayoutSideOffsetsAu
Trait Implementations§
source§impl Clone for NormalBorderPrim
impl Clone for NormalBorderPrim
source§fn clone(&self) -> NormalBorderPrim
fn clone(&self) -> NormalBorderPrim
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 CreateShadow for NormalBorderPrim
impl CreateShadow for NormalBorderPrim
fn create_shadow(&self, shadow: &Shadow, _: bool, _: RasterSpace) -> Self
source§impl Debug for NormalBorderPrim
impl Debug for NormalBorderPrim
source§impl Hash for NormalBorderPrim
impl Hash for NormalBorderPrim
source§impl Internable for NormalBorderPrim
impl Internable for NormalBorderPrim
type Key = PrimKey<NormalBorderPrim>
type StoreData = PrimTemplate<NormalBorderData>
type InternData = ()
const PROFILE_COUNTER: usize = 88usize
source§impl InternablePrimitive for NormalBorderPrim
impl InternablePrimitive for NormalBorderPrim
source§fn into_key(self, info: &LayoutPrimitiveInfo) -> PrimKey<NormalBorderPrim>
fn into_key(self, info: &LayoutPrimitiveInfo) -> PrimKey<NormalBorderPrim>
Build a new key from self with
info
.fn make_instance_kind( _key: PrimKey<NormalBorderPrim>, data_handle: Handle<NormalBorderPrim>, _: &mut PrimitiveStore, ) -> PrimitiveInstanceKind
source§impl IsVisible for NormalBorderPrim
impl IsVisible for NormalBorderPrim
fn is_visible(&self) -> bool
source§impl MallocSizeOf for NormalBorderPrim
impl MallocSizeOf for NormalBorderPrim
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 NormalBorderPrim
impl PartialEq for NormalBorderPrim
source§fn eq(&self, other: &NormalBorderPrim) -> bool
fn eq(&self, other: &NormalBorderPrim) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NormalBorderPrim
impl Serialize for NormalBorderPrim
impl Eq for NormalBorderPrim
impl StructuralPartialEq for NormalBorderPrim
Auto Trait Implementations§
impl Freeze for NormalBorderPrim
impl RefUnwindSafe for NormalBorderPrim
impl Send for NormalBorderPrim
impl Sync for NormalBorderPrim
impl Unpin for NormalBorderPrim
impl UnwindSafe for NormalBorderPrim
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> 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