pub struct SceneCameraView {
pub title: String,
pub info: String,
pub help: String,
pub layout: CameraLayout,
pub shown: Option<(Rc<GlyphBuffer>, PanFrame)>,
pub caption: String,
pub box_text: Vec<String>,
}Expand description
What the scene camera shows.
Fields§
§title: StringIts title.
info: StringThe line under it: the zoom and where the window starts, or what is missing.
help: StringThe help line.
layout: CameraLayoutWhere the window and the text box go.
shown: Option<(Rc<GlyphBuffer>, PanFrame)>The picture behind the window, and where it is; None without
one, and then no window is drawn.
caption: StringThe text over the scene, with no box behind it.
box_text: Vec<String>The lines in the text box.
Trait Implementations§
Source§impl Clone for SceneCameraView
impl Clone for SceneCameraView
Source§fn clone(&self) -> SceneCameraView
fn clone(&self) -> SceneCameraView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SceneCameraView
impl Debug for SceneCameraView
Source§impl PartialEq for SceneCameraView
impl PartialEq for SceneCameraView
impl StructuralPartialEq for SceneCameraView
Auto Trait Implementations§
impl !Send for SceneCameraView
impl !Sync for SceneCameraView
impl Freeze for SceneCameraView
impl RefUnwindSafe for SceneCameraView
impl Unpin for SceneCameraView
impl UnsafeUnpin for SceneCameraView
impl UnwindSafe for SceneCameraView
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