imgui::c

Struct ImGuiContext

#[repr(C)]
pub struct ImGuiContext {
Show 265 fields pub Initialized: bool, pub FontAtlasOwnedByContext: bool, pub IO: ImGuiIO, pub PlatformIO: ImGuiPlatformIO, pub Style: ImGuiStyle, pub ConfigFlagsCurrFrame: i32, pub ConfigFlagsLastFrame: i32, pub Font: *mut ImFont, pub FontSize: f32, pub FontBaseSize: f32, pub DrawListSharedData: ImDrawListSharedData, pub Time: f64, pub FrameCount: i32, pub FrameCountEnded: i32, pub FrameCountPlatformEnded: i32, pub FrameCountRendered: i32, pub WithinFrameScope: bool, pub WithinFrameScopeWithImplicitWindow: bool, pub WithinEndChild: bool, pub GcCompactAll: bool, pub TestEngineHookItems: bool, pub TestEngine: *mut c_void, pub InputEventsQueue: ImVector_ImGuiInputEvent, pub InputEventsTrail: ImVector_ImGuiInputEvent, pub InputEventsNextMouseSource: u32, pub InputEventsNextEventId: u32, pub Windows: ImVector_ImGuiWindowPtr, pub WindowsFocusOrder: ImVector_ImGuiWindowPtr, pub WindowsTempSortBuffer: ImVector_ImGuiWindowPtr, pub CurrentWindowStack: ImVector_ImGuiWindowStackData, pub WindowsById: ImGuiStorage, pub WindowsActiveCount: i32, pub WindowsHoverPadding: ImVec2, pub CurrentWindow: *mut ImGuiWindow, pub HoveredWindow: *mut ImGuiWindow, pub HoveredWindowUnderMovingWindow: *mut ImGuiWindow, pub MovingWindow: *mut ImGuiWindow, pub WheelingWindow: *mut ImGuiWindow, pub WheelingWindowRefMousePos: ImVec2, pub WheelingWindowStartFrame: i32, pub WheelingWindowScrolledFrame: i32, pub WheelingWindowReleaseTimer: f32, pub WheelingWindowWheelRemainder: ImVec2, pub WheelingAxisAvg: ImVec2, pub DebugHookIdInfo: u32, pub HoveredId: u32, pub HoveredIdPreviousFrame: u32, pub HoveredIdAllowOverlap: bool, pub HoveredIdDisabled: bool, pub HoveredIdTimer: f32, pub HoveredIdNotActiveTimer: f32, pub ActiveId: u32, pub ActiveIdIsAlive: u32, pub ActiveIdTimer: f32, pub ActiveIdIsJustActivated: bool, pub ActiveIdAllowOverlap: bool, pub ActiveIdNoClearOnFocusLoss: bool, pub ActiveIdHasBeenPressedBefore: bool, pub ActiveIdHasBeenEditedBefore: bool, pub ActiveIdHasBeenEditedThisFrame: bool, pub ActiveIdClickOffset: ImVec2, pub ActiveIdWindow: *mut ImGuiWindow, pub ActiveIdSource: u32, pub ActiveIdMouseButton: i32, pub ActiveIdPreviousFrame: u32, pub ActiveIdPreviousFrameIsAlive: bool, pub ActiveIdPreviousFrameHasBeenEditedBefore: bool, pub ActiveIdPreviousFrameWindow: *mut ImGuiWindow, pub LastActiveId: u32, pub LastActiveIdTimer: f32, pub KeysOwnerData: [ImGuiKeyOwnerData; 154], pub KeysRoutingTable: ImGuiKeyRoutingTable, pub ActiveIdUsingNavDirMask: u32, pub ActiveIdUsingAllKeyboardKeys: bool, pub CurrentFocusScopeId: u32, pub CurrentItemFlags: i32, pub DebugLocateId: u32, pub NextItemData: ImGuiNextItemData, pub LastItemData: ImGuiLastItemData, pub NextWindowData: ImGuiNextWindowData, pub DebugShowGroupRects: bool, pub ColorStack: ImVector_ImGuiColorMod, pub StyleVarStack: ImVector_ImGuiStyleMod, pub FontStack: ImVector_ImFontPtr, pub FocusScopeStack: ImVector_ImGuiID, pub ItemFlagsStack: ImVector_ImGuiItemFlags, pub GroupStack: ImVector_ImGuiGroupData, pub OpenPopupStack: ImVector_ImGuiPopupData, pub BeginPopupStack: ImVector_ImGuiPopupData, pub NavTreeNodeStack: ImVector_ImGuiNavTreeNodeData, pub BeginMenuCount: i32, pub Viewports: ImVector_ImGuiViewportPPtr, pub CurrentDpiScale: f32, pub CurrentViewport: *mut ImGuiViewportP, pub MouseViewport: *mut ImGuiViewportP, pub MouseLastHoveredViewport: *mut ImGuiViewportP, pub PlatformLastFocusedViewportId: u32, pub FallbackMonitor: ImGuiPlatformMonitor, pub ViewportCreatedCount: i32, pub PlatformWindowsCreatedCount: i32, pub ViewportFocusedStampCount: i32, pub NavWindow: *mut ImGuiWindow, pub NavId: u32, pub NavFocusScopeId: u32, pub NavActivateId: u32, pub NavActivateDownId: u32, pub NavActivatePressedId: u32, pub NavActivateFlags: i32, pub NavJustMovedToId: u32, pub NavJustMovedToFocusScopeId: u32, pub NavJustMovedToKeyMods: i32, pub NavNextActivateId: u32, pub NavNextActivateFlags: i32, pub NavInputSource: u32, pub NavLayer: u32, pub NavLastValidSelectionUserData: i64, pub NavIdIsAlive: bool, pub NavMousePosDirty: bool, pub NavDisableHighlight: bool, pub NavDisableMouseHover: bool, pub NavAnyRequest: bool, pub NavInitRequest: bool, pub NavInitRequestFromMove: bool, pub NavInitResult: ImGuiNavItemData, pub NavMoveSubmitted: bool, pub NavMoveScoringItems: bool, pub NavMoveForwardToNextFrame: bool, pub NavMoveFlags: i32, pub NavMoveScrollFlags: i32, pub NavMoveKeyMods: i32, pub NavMoveDir: i32, pub NavMoveDirForDebug: i32, pub NavMoveClipDir: i32, pub NavScoringRect: ImRect, pub NavScoringNoClipRect: ImRect, pub NavScoringDebugCount: i32, pub NavTabbingDir: i32, pub NavTabbingCounter: i32, pub NavMoveResultLocal: ImGuiNavItemData, pub NavMoveResultLocalVisible: ImGuiNavItemData, pub NavMoveResultOther: ImGuiNavItemData, pub NavTabbingResultFirst: ImGuiNavItemData, pub ConfigNavWindowingKeyNext: i32, pub ConfigNavWindowingKeyPrev: i32, pub NavWindowingTarget: *mut ImGuiWindow, pub NavWindowingTargetAnim: *mut ImGuiWindow, pub NavWindowingListWindow: *mut ImGuiWindow, pub NavWindowingTimer: f32, pub NavWindowingHighlightAlpha: f32, pub NavWindowingToggleLayer: bool, pub NavWindowingAccumDeltaPos: ImVec2, pub NavWindowingAccumDeltaSize: ImVec2, pub DimBgRatio: f32, pub DragDropActive: bool, pub DragDropWithinSource: bool, pub DragDropWithinTarget: bool, pub DragDropSourceFlags: i32, pub DragDropSourceFrameCount: i32, pub DragDropMouseButton: i32, pub DragDropPayload: ImGuiPayload, pub DragDropTargetRect: ImRect, pub DragDropTargetId: u32, pub DragDropAcceptFlags: i32, pub DragDropAcceptIdCurrRectSurface: f32, pub DragDropAcceptIdCurr: u32, pub DragDropAcceptIdPrev: u32, pub DragDropAcceptFrameCount: i32, pub DragDropHoldJustPressedId: u32, pub DragDropPayloadBufHeap: ImVector_unsigned_char, pub DragDropPayloadBufLocal: [u8; 16], pub ClipperTempDataStacked: i32, pub ClipperTempData: ImVector_ImGuiListClipperData, pub CurrentTable: *mut ImGuiTable, pub TablesTempDataStacked: i32, pub TablesTempData: ImVector_ImGuiTableTempData, pub Tables: ImPool_ImGuiTable, pub TablesLastTimeActive: ImVector_float, pub DrawChannelsTempMergeBuffer: ImVector_ImDrawChannel, pub CurrentTabBar: *mut ImGuiTabBar, pub TabBars: ImPool_ImGuiTabBar, pub CurrentTabBarStack: ImVector_ImGuiPtrOrIndex, pub ShrinkWidthBuffer: ImVector_ImGuiShrinkWidthItem, pub HoverItemDelayId: u32, pub HoverItemDelayIdPreviousFrame: u32, pub HoverItemDelayTimer: f32, pub HoverItemDelayClearTimer: f32, pub HoverItemUnlockedStationaryId: u32, pub HoverWindowUnlockedStationaryId: u32, pub MouseCursor: i32, pub MouseStationaryTimer: f32, pub MouseLastValidPos: ImVec2, pub InputTextState: ImGuiInputTextState, pub InputTextDeactivatedState: ImGuiInputTextDeactivatedState, pub InputTextPasswordFont: ImFont, pub TempInputId: u32, pub ColorEditOptions: i32, pub ColorEditCurrentID: u32, pub ColorEditSavedID: u32, pub ColorEditSavedHue: f32, pub ColorEditSavedSat: f32, pub ColorEditSavedColor: u32, pub ColorPickerRef: ImVec4, pub ComboPreviewData: ImGuiComboPreviewData, pub WindowResizeBorderExpectedRect: ImRect, pub WindowResizeRelativeMode: bool, pub SliderGrabClickOffset: f32, pub SliderCurrentAccum: f32, pub SliderCurrentAccumDirty: bool, pub DragCurrentAccumDirty: bool, pub DragCurrentAccum: f32, pub DragSpeedDefaultRatio: f32, pub ScrollbarClickDeltaToGrabCenter: f32, pub DisabledAlphaBackup: f32, pub DisabledStackSize: i16, pub LockMarkEdited: i16, pub TooltipOverrideCount: i16, pub ClipboardHandlerData: ImVector_char, pub MenusIdSubmittedThisFrame: ImVector_ImGuiID, pub TypingSelectState: ImGuiTypingSelectState, pub PlatformImeData: ImGuiPlatformImeData, pub PlatformImeDataPrev: ImGuiPlatformImeData, pub PlatformImeViewport: u32, pub DockContext: ImGuiDockContext, pub DockNodeWindowMenuHandler: Option<unsafe extern "C" fn(_: *mut ImGuiContext, _: *mut ImGuiDockNode, _: *mut ImGuiTabBar)>, pub SettingsLoaded: bool, pub SettingsDirtyTimer: f32, pub SettingsIniData: ImGuiTextBuffer, pub SettingsHandlers: ImVector_ImGuiSettingsHandler, pub SettingsWindows: ImChunkStream_ImGuiWindowSettings, pub SettingsTables: ImChunkStream_ImGuiTableSettings, pub Hooks: ImVector_ImGuiContextHook, pub HookIdNext: u32, pub LocalizationTable: [*const i8; 11], pub LogEnabled: bool, pub LogType: u32, pub LogFile: *mut _IO_FILE, pub LogBuffer: ImGuiTextBuffer, pub LogNextPrefix: *const i8, pub LogNextSuffix: *const i8, pub LogLinePosY: f32, pub LogLineFirstItem: bool, pub LogDepthRef: i32, pub LogDepthToExpand: i32, pub LogDepthToExpandDefault: i32, pub DebugLogFlags: i32, pub DebugLogBuf: ImGuiTextBuffer, pub DebugLogIndex: ImGuiTextIndex, pub DebugLogClipperAutoDisableFrames: u8, pub DebugLocateFrames: u8, pub DebugBeginReturnValueCullDepth: i8, pub DebugItemPickerActive: bool, pub DebugItemPickerMouseButton: u8, pub DebugItemPickerBreakId: u32, pub DebugMetricsConfig: ImGuiMetricsConfig, pub DebugIDStackTool: ImGuiIDStackTool, pub DebugAllocInfo: ImGuiDebugAllocInfo, pub DebugHoveredDockNode: *mut ImGuiDockNode, pub FramerateSecPerFrame: [f32; 60], pub FramerateSecPerFrameIdx: i32, pub FramerateSecPerFrameCount: i32, pub FramerateSecPerFrameAccum: f32, pub WantCaptureMouseNextFrame: i32, pub WantCaptureKeyboardNextFrame: i32, pub WantTextInputNextFrame: i32, pub TempBuffer: ImVector_char,
}

Fields§

§Initialized: bool§FontAtlasOwnedByContext: bool§IO: ImGuiIO§PlatformIO: ImGuiPlatformIO§Style: ImGuiStyle§ConfigFlagsCurrFrame: i32§ConfigFlagsLastFrame: i32§Font: *mut ImFont§FontSize: f32§FontBaseSize: f32§DrawListSharedData: ImDrawListSharedData§Time: f64§FrameCount: i32§FrameCountEnded: i32§FrameCountPlatformEnded: i32§FrameCountRendered: i32§WithinFrameScope: bool§WithinFrameScopeWithImplicitWindow: bool§WithinEndChild: bool§GcCompactAll: bool§TestEngineHookItems: bool§TestEngine: *mut c_void§InputEventsQueue: ImVector_ImGuiInputEvent§InputEventsTrail: ImVector_ImGuiInputEvent§InputEventsNextMouseSource: u32§InputEventsNextEventId: u32§Windows: ImVector_ImGuiWindowPtr§WindowsFocusOrder: ImVector_ImGuiWindowPtr§WindowsTempSortBuffer: ImVector_ImGuiWindowPtr§CurrentWindowStack: ImVector_ImGuiWindowStackData§WindowsById: ImGuiStorage§WindowsActiveCount: i32§WindowsHoverPadding: ImVec2§CurrentWindow: *mut ImGuiWindow§HoveredWindow: *mut ImGuiWindow§HoveredWindowUnderMovingWindow: *mut ImGuiWindow§MovingWindow: *mut ImGuiWindow§WheelingWindow: *mut ImGuiWindow§WheelingWindowRefMousePos: ImVec2§WheelingWindowStartFrame: i32§WheelingWindowScrolledFrame: i32§WheelingWindowReleaseTimer: f32§WheelingWindowWheelRemainder: ImVec2§WheelingAxisAvg: ImVec2§DebugHookIdInfo: u32§HoveredId: u32§HoveredIdPreviousFrame: u32§HoveredIdAllowOverlap: bool§HoveredIdDisabled: bool§HoveredIdTimer: f32§HoveredIdNotActiveTimer: f32§ActiveId: u32§ActiveIdIsAlive: u32§ActiveIdTimer: f32§ActiveIdIsJustActivated: bool§ActiveIdAllowOverlap: bool§ActiveIdNoClearOnFocusLoss: bool§ActiveIdHasBeenPressedBefore: bool§ActiveIdHasBeenEditedBefore: bool§ActiveIdHasBeenEditedThisFrame: bool§ActiveIdClickOffset: ImVec2§ActiveIdWindow: *mut ImGuiWindow§ActiveIdSource: u32§ActiveIdMouseButton: i32§ActiveIdPreviousFrame: u32§ActiveIdPreviousFrameIsAlive: bool§ActiveIdPreviousFrameHasBeenEditedBefore: bool§ActiveIdPreviousFrameWindow: *mut ImGuiWindow§LastActiveId: u32§LastActiveIdTimer: f32§KeysOwnerData: [ImGuiKeyOwnerData; 154]§KeysRoutingTable: ImGuiKeyRoutingTable§ActiveIdUsingNavDirMask: u32§ActiveIdUsingAllKeyboardKeys: bool§CurrentFocusScopeId: u32§CurrentItemFlags: i32§DebugLocateId: u32§NextItemData: ImGuiNextItemData§LastItemData: ImGuiLastItemData§NextWindowData: ImGuiNextWindowData§DebugShowGroupRects: bool§ColorStack: ImVector_ImGuiColorMod§StyleVarStack: ImVector_ImGuiStyleMod§FontStack: ImVector_ImFontPtr§FocusScopeStack: ImVector_ImGuiID§ItemFlagsStack: ImVector_ImGuiItemFlags§GroupStack: ImVector_ImGuiGroupData§OpenPopupStack: ImVector_ImGuiPopupData§BeginPopupStack: ImVector_ImGuiPopupData§NavTreeNodeStack: ImVector_ImGuiNavTreeNodeData§BeginMenuCount: i32§Viewports: ImVector_ImGuiViewportPPtr§CurrentDpiScale: f32§CurrentViewport: *mut ImGuiViewportP§MouseViewport: *mut ImGuiViewportP§MouseLastHoveredViewport: *mut ImGuiViewportP§PlatformLastFocusedViewportId: u32§FallbackMonitor: ImGuiPlatformMonitor§ViewportCreatedCount: i32§PlatformWindowsCreatedCount: i32§ViewportFocusedStampCount: i32§NavWindow: *mut ImGuiWindow§NavId: u32§NavFocusScopeId: u32§NavActivateId: u32§NavActivateDownId: u32§NavActivatePressedId: u32§NavActivateFlags: i32§NavJustMovedToId: u32§NavJustMovedToFocusScopeId: u32§NavJustMovedToKeyMods: i32§NavNextActivateId: u32§NavNextActivateFlags: i32§NavInputSource: u32§NavLayer: u32§NavLastValidSelectionUserData: i64§NavIdIsAlive: bool§NavMousePosDirty: bool§NavDisableHighlight: bool§NavDisableMouseHover: bool§NavAnyRequest: bool§NavInitRequest: bool§NavInitRequestFromMove: bool§NavInitResult: ImGuiNavItemData§NavMoveSubmitted: bool§NavMoveScoringItems: bool§NavMoveForwardToNextFrame: bool§NavMoveFlags: i32§NavMoveScrollFlags: i32§NavMoveKeyMods: i32§NavMoveDir: i32§NavMoveDirForDebug: i32§NavMoveClipDir: i32§NavScoringRect: ImRect§NavScoringNoClipRect: ImRect§NavScoringDebugCount: i32§NavTabbingDir: i32§NavTabbingCounter: i32§NavMoveResultLocal: ImGuiNavItemData§NavMoveResultLocalVisible: ImGuiNavItemData§NavMoveResultOther: ImGuiNavItemData§NavTabbingResultFirst: ImGuiNavItemData§ConfigNavWindowingKeyNext: i32§ConfigNavWindowingKeyPrev: i32§NavWindowingTarget: *mut ImGuiWindow§NavWindowingTargetAnim: *mut ImGuiWindow§NavWindowingListWindow: *mut ImGuiWindow§NavWindowingTimer: f32§NavWindowingHighlightAlpha: f32§NavWindowingToggleLayer: bool§NavWindowingAccumDeltaPos: ImVec2§NavWindowingAccumDeltaSize: ImVec2§DimBgRatio: f32§DragDropActive: bool§DragDropWithinSource: bool§DragDropWithinTarget: bool§DragDropSourceFlags: i32§DragDropSourceFrameCount: i32§DragDropMouseButton: i32§DragDropPayload: ImGuiPayload§DragDropTargetRect: ImRect§DragDropTargetId: u32§DragDropAcceptFlags: i32§DragDropAcceptIdCurrRectSurface: f32§DragDropAcceptIdCurr: u32§DragDropAcceptIdPrev: u32§DragDropAcceptFrameCount: i32§DragDropHoldJustPressedId: u32§DragDropPayloadBufHeap: ImVector_unsigned_char§DragDropPayloadBufLocal: [u8; 16]§ClipperTempDataStacked: i32§ClipperTempData: ImVector_ImGuiListClipperData§CurrentTable: *mut ImGuiTable§TablesTempDataStacked: i32§TablesTempData: ImVector_ImGuiTableTempData§Tables: ImPool_ImGuiTable§TablesLastTimeActive: ImVector_float§DrawChannelsTempMergeBuffer: ImVector_ImDrawChannel§CurrentTabBar: *mut ImGuiTabBar§TabBars: ImPool_ImGuiTabBar§CurrentTabBarStack: ImVector_ImGuiPtrOrIndex§ShrinkWidthBuffer: ImVector_ImGuiShrinkWidthItem§HoverItemDelayId: u32§HoverItemDelayIdPreviousFrame: u32§HoverItemDelayTimer: f32§HoverItemDelayClearTimer: f32§HoverItemUnlockedStationaryId: u32§HoverWindowUnlockedStationaryId: u32§MouseCursor: i32§MouseStationaryTimer: f32§MouseLastValidPos: ImVec2§InputTextState: ImGuiInputTextState§InputTextDeactivatedState: ImGuiInputTextDeactivatedState§InputTextPasswordFont: ImFont§TempInputId: u32§ColorEditOptions: i32§ColorEditCurrentID: u32§ColorEditSavedID: u32§ColorEditSavedHue: f32§ColorEditSavedSat: f32§ColorEditSavedColor: u32§ColorPickerRef: ImVec4§ComboPreviewData: ImGuiComboPreviewData§WindowResizeBorderExpectedRect: ImRect§WindowResizeRelativeMode: bool§SliderGrabClickOffset: f32§SliderCurrentAccum: f32§SliderCurrentAccumDirty: bool§DragCurrentAccumDirty: bool§DragCurrentAccum: f32§DragSpeedDefaultRatio: f32§ScrollbarClickDeltaToGrabCenter: f32§DisabledAlphaBackup: f32§DisabledStackSize: i16§LockMarkEdited: i16§TooltipOverrideCount: i16§ClipboardHandlerData: ImVector_char§MenusIdSubmittedThisFrame: ImVector_ImGuiID§TypingSelectState: ImGuiTypingSelectState§PlatformImeData: ImGuiPlatformImeData§PlatformImeDataPrev: ImGuiPlatformImeData§PlatformImeViewport: u32§DockContext: ImGuiDockContext§DockNodeWindowMenuHandler: Option<unsafe extern "C" fn(_: *mut ImGuiContext, _: *mut ImGuiDockNode, _: *mut ImGuiTabBar)>§SettingsLoaded: bool§SettingsDirtyTimer: f32§SettingsIniData: ImGuiTextBuffer§SettingsHandlers: ImVector_ImGuiSettingsHandler§SettingsWindows: ImChunkStream_ImGuiWindowSettings§SettingsTables: ImChunkStream_ImGuiTableSettings§Hooks: ImVector_ImGuiContextHook§HookIdNext: u32§LocalizationTable: [*const i8; 11]§LogEnabled: bool§LogType: u32§LogFile: *mut _IO_FILE§LogBuffer: ImGuiTextBuffer§LogNextPrefix: *const i8§LogNextSuffix: *const i8§LogLinePosY: f32§LogLineFirstItem: bool§LogDepthRef: i32§LogDepthToExpand: i32§LogDepthToExpandDefault: i32§DebugLogFlags: i32§DebugLogBuf: ImGuiTextBuffer§DebugLogIndex: ImGuiTextIndex§DebugLogClipperAutoDisableFrames: u8§DebugLocateFrames: u8§DebugBeginReturnValueCullDepth: i8§DebugItemPickerActive: bool§DebugItemPickerMouseButton: u8§DebugItemPickerBreakId: u32§DebugMetricsConfig: ImGuiMetricsConfig§DebugIDStackTool: ImGuiIDStackTool§DebugAllocInfo: ImGuiDebugAllocInfo§DebugHoveredDockNode: *mut ImGuiDockNode§FramerateSecPerFrame: [f32; 60]§FramerateSecPerFrameIdx: i32§FramerateSecPerFrameCount: i32§FramerateSecPerFrameAccum: f32§WantCaptureMouseNextFrame: i32§WantCaptureKeyboardNextFrame: i32§WantTextInputNextFrame: i32§TempBuffer: ImVector_char

Trait Implementations§

§

impl Clone for ImGuiContext

§

fn clone(&self) -> ImGuiContext

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ImGuiContext

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for ImGuiContext

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.