#[repr(C)]pub struct tm_image_inspector_data_t {
pub render_handle: u32,
pub _padding_19: [c_char; 4],
pub desc: *const tm_renderer_image_buffer_t,
pub srgb: bool,
pub display_channels_rgba: [bool; 4],
pub _padding_30: [c_char; 3],
pub checker_colors: [u32; 2],
pub mip_level: u32,
pub slice: u32,
pub dpi_scale_factor: f32,
pub origo: tm_vec2_t,
pub zoom: f32,
}Fields§
§render_handle: u32§_padding_19: [c_char; 4]§desc: *const tm_renderer_image_buffer_t§srgb: bool§display_channels_rgba: [bool; 4]§_padding_30: [c_char; 3]§checker_colors: [u32; 2]§mip_level: u32§slice: u32§dpi_scale_factor: f32§origo: tm_vec2_t§zoom: f32Trait Implementations§
Source§impl Clone for tm_image_inspector_data_t
impl Clone for tm_image_inspector_data_t
Source§fn clone(&self) -> tm_image_inspector_data_t
fn clone(&self) -> tm_image_inspector_data_t
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 moreimpl Copy for tm_image_inspector_data_t
Auto Trait Implementations§
impl Freeze for tm_image_inspector_data_t
impl RefUnwindSafe for tm_image_inspector_data_t
impl !Send for tm_image_inspector_data_t
impl !Sync for tm_image_inspector_data_t
impl Unpin for tm_image_inspector_data_t
impl UnsafeUnpin for tm_image_inspector_data_t
impl UnwindSafe for tm_image_inspector_data_t
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