Struct imgui_sys::ImGuiSizeCallbackData
source · #[repr(C)]pub struct ImGuiSizeCallbackData {
pub UserData: *mut c_void,
pub Pos: ImVec2,
pub CurrentSize: ImVec2,
pub DesiredSize: ImVec2,
}
Fields§
§UserData: *mut c_void
§Pos: ImVec2
§CurrentSize: ImVec2
§DesiredSize: ImVec2
Trait Implementations§
source§impl Clone for ImGuiSizeCallbackData
impl Clone for ImGuiSizeCallbackData
source§fn clone(&self) -> ImGuiSizeCallbackData
fn clone(&self) -> ImGuiSizeCallbackData
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 Debug for ImGuiSizeCallbackData
impl Debug for ImGuiSizeCallbackData
source§impl Default for ImGuiSizeCallbackData
impl Default for ImGuiSizeCallbackData
source§impl PartialEq for ImGuiSizeCallbackData
impl PartialEq for ImGuiSizeCallbackData
source§fn eq(&self, other: &ImGuiSizeCallbackData) -> bool
fn eq(&self, other: &ImGuiSizeCallbackData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImGuiSizeCallbackData
impl StructuralPartialEq for ImGuiSizeCallbackData
Auto Trait Implementations§
impl Freeze for ImGuiSizeCallbackData
impl RefUnwindSafe for ImGuiSizeCallbackData
impl !Send for ImGuiSizeCallbackData
impl !Sync for ImGuiSizeCallbackData
impl Unpin for ImGuiSizeCallbackData
impl UnwindSafe for ImGuiSizeCallbackData
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