pub struct Plot3DResponse {
pub response: Response,
pub hovered: Option<Plot3DHover>,
pub clicked: Option<Plot3DHover>,
pub view: Bounds3D,
pub camera: Camera3D,
pub frame: Rect,
pub settings_requested: bool,
pub export_requested: Option<ExportFormat>,
}Expand description
What happened in the 3D plot this frame.
Fields§
§response: ResponseThe response of the whole plot area.
hovered: Option<Plot3DHover>The nearest point within 12 pt of the pointer.
clicked: Option<Plot3DHover>A point that was clicked.
view: Bounds3DThe visible data bounds (the same box the axes draw).
camera: Camera3DThe camera used this frame.
frame: RectThe data area on screen.
settings_requested: boolThe toolbar’s settings button was clicked.
export_requested: Option<ExportFormat>The toolbar’s export menu chose a format.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Plot3DResponse
impl !UnwindSafe for Plot3DResponse
impl Forget for Plot3DResponse
impl Freeze for Plot3DResponse
impl Move for Plot3DResponse
impl Send for Plot3DResponse
impl Sync for Plot3DResponse
impl Unpin for Plot3DResponse
impl UnsafeUnpin for Plot3DResponsewhere
*const ArcInner<RwLock<ContextImpl>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<ContextImpl>>>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more