pub struct FilterGraphPictureReferenceKey {
pub buffer_id: FilterGraphPictureBufferIdKey,
pub subregion: [Au; 4],
pub offset: [Au; 2],
}
Fields§
§buffer_id: FilterGraphPictureBufferIdKey
Id of the picture in question in a namespace unique to this filter DAG, some are special values like FilterPrimitiveDescription::kPrimitiveIndexSourceGraphic.
subregion: [Au; 4]
Place the input image here in Layout space (like node.subregion)
offset: [Au; 2]
Translate the subregion by this amount
Trait Implementations§
source§impl Clone for FilterGraphPictureReferenceKey
impl Clone for FilterGraphPictureReferenceKey
source§fn clone(&self) -> FilterGraphPictureReferenceKey
fn clone(&self) -> FilterGraphPictureReferenceKey
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 Default for FilterGraphPictureReferenceKey
impl Default for FilterGraphPictureReferenceKey
source§fn default() -> FilterGraphPictureReferenceKey
fn default() -> FilterGraphPictureReferenceKey
Returns the “default value” for a type. Read more
source§impl From<FilterGraphPictureReference> for FilterGraphPictureReferenceKey
impl From<FilterGraphPictureReference> for FilterGraphPictureReferenceKey
source§fn from(pic: FilterGraphPictureReference) -> Self
fn from(pic: FilterGraphPictureReference) -> Self
Converts to this type from the input type.
source§impl MallocSizeOf for FilterGraphPictureReferenceKey
impl MallocSizeOf for FilterGraphPictureReferenceKey
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 FilterGraphPictureReferenceKey
impl PartialEq for FilterGraphPictureReferenceKey
source§fn eq(&self, other: &FilterGraphPictureReferenceKey) -> bool
fn eq(&self, other: &FilterGraphPictureReferenceKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FilterGraphPictureReferenceKey
impl Eq for FilterGraphPictureReferenceKey
impl StructuralPartialEq for FilterGraphPictureReferenceKey
Auto Trait Implementations§
impl Freeze for FilterGraphPictureReferenceKey
impl RefUnwindSafe for FilterGraphPictureReferenceKey
impl Send for FilterGraphPictureReferenceKey
impl Sync for FilterGraphPictureReferenceKey
impl Unpin for FilterGraphPictureReferenceKey
impl UnwindSafe for FilterGraphPictureReferenceKey
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