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