pub struct Plot3DToken<'ui> { /* private fields */ }Expand description
RAII token that ends the plot on drop
This token is returned by Plot3DBuilder::build() and automatically calls
ImPlot3D_EndPlot() when it goes out of scope, ensuring proper cleanup.
Implementations§
Source§impl<'ui> Plot3DToken<'ui>
impl<'ui> Plot3DToken<'ui>
Sourcepub fn plot_draw_list(&self) -> Option<DrawListMut<'_>>
pub fn plot_draw_list(&self) -> Option<DrawListMut<'_>>
Get the active 3D plot draw list as a frame-bound wrapper.
Trait Implementations§
Source§impl Drop for Plot3DToken<'_>
impl Drop for Plot3DToken<'_>
Auto Trait Implementations§
impl<'ui> !RefUnwindSafe for Plot3DToken<'ui>
impl<'ui> !Send for Plot3DToken<'ui>
impl<'ui> !Sync for Plot3DToken<'ui>
impl<'ui> !UnwindSafe for Plot3DToken<'ui>
impl<'ui> Freeze for Plot3DToken<'ui>
impl<'ui> Unpin for Plot3DToken<'ui>
impl<'ui> UnsafeUnpin for Plot3DToken<'ui>
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