pub struct CustomEffectImageInputV1 {
pub image: ImageId,
pub uv: UvRect,
pub sampling: ImageSamplingHint,
}Expand description
Optional user image input for bounded custom effects (v2).
This is intentionally small and portable: it references an ImageId registered through the
existing image service and uses the existing ImageSamplingHint vocabulary.
Fields§
§image: ImageId§uv: UvRect§sampling: ImageSamplingHintImplementations§
Trait Implementations§
Source§impl Clone for CustomEffectImageInputV1
impl Clone for CustomEffectImageInputV1
Source§fn clone(&self) -> CustomEffectImageInputV1
fn clone(&self) -> CustomEffectImageInputV1
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 CustomEffectImageInputV1
impl Debug for CustomEffectImageInputV1
Source§impl PartialEq for CustomEffectImageInputV1
impl PartialEq for CustomEffectImageInputV1
impl Copy for CustomEffectImageInputV1
impl StructuralPartialEq for CustomEffectImageInputV1
Auto Trait Implementations§
impl Freeze for CustomEffectImageInputV1
impl RefUnwindSafe for CustomEffectImageInputV1
impl Send for CustomEffectImageInputV1
impl Sync for CustomEffectImageInputV1
impl Unpin for CustomEffectImageInputV1
impl UnsafeUnpin for CustomEffectImageInputV1
impl UnwindSafe for CustomEffectImageInputV1
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