pub struct PacketUpdateImage<'a, S: AsRef<str> + 'a> {
pub image_name: &'a str,
pub grab_focus: bool,
pub channel_names: &'a [S],
pub channel_offsets: &'a [u64],
pub channel_strides: &'a [u64],
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub data: &'a [f32],
}
Expand description
Update part of an existing image with new pixel data.
Fields§
§image_name: &'a str
§grab_focus: bool
§channel_names: &'a [S]
§channel_offsets: &'a [u64]
§channel_strides: &'a [u64]
§x: u32
§y: u32
§width: u32
§height: u32
§data: &'a [f32]
Trait Implementations§
Auto Trait Implementations§
impl<'a, S> Freeze for PacketUpdateImage<'a, S>
impl<'a, S> RefUnwindSafe for PacketUpdateImage<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for PacketUpdateImage<'a, S>where
S: Sync,
impl<'a, S> Sync for PacketUpdateImage<'a, S>where
S: Sync,
impl<'a, S> Unpin for PacketUpdateImage<'a, S>
impl<'a, S> UnwindSafe for PacketUpdateImage<'a, S>where
S: RefUnwindSafe,
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