pub struct ExternalImageSource {
pub image_id: u32,
pub transform: Option<[f32; 6]>,
}Expand description
Reference an external image as filter input.
Allows using pre-existing images (from an atlas or resource) as input to filter operations, useful for texturing and overlays.
Fields§
§image_id: u32§transform: Option<[f32; 6]>Trait Implementations§
Source§impl Clone for ExternalImageSource
impl Clone for ExternalImageSource
Source§fn clone(&self) -> ExternalImageSource
fn clone(&self) -> ExternalImageSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalImageSource
impl Debug for ExternalImageSource
Source§impl PartialEq for ExternalImageSource
impl PartialEq for ExternalImageSource
impl StructuralPartialEq for ExternalImageSource
Auto Trait Implementations§
impl Freeze for ExternalImageSource
impl RefUnwindSafe for ExternalImageSource
impl Send for ExternalImageSource
impl Sync for ExternalImageSource
impl Unpin for ExternalImageSource
impl UnsafeUnpin for ExternalImageSource
impl UnwindSafe for ExternalImageSource
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