pub struct CameraLayout {
pub window: Rect,
pub text_box: Rect,
}Expand description
Where the scene camera’s window and text box go on the console.
Fields§
§window: RectThe cells the scene shows through.
text_box: RectThe text box drawn over part of the window: at least 20 cells
across and 5 down, for BOX_TEXT.
Trait Implementations§
Source§impl Clone for CameraLayout
impl Clone for CameraLayout
Source§fn clone(&self) -> CameraLayout
fn clone(&self) -> CameraLayout
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 moreimpl Copy for CameraLayout
Source§impl Debug for CameraLayout
impl Debug for CameraLayout
impl Eq for CameraLayout
Source§impl PartialEq for CameraLayout
impl PartialEq for CameraLayout
impl StructuralPartialEq for CameraLayout
Auto Trait Implementations§
impl Freeze for CameraLayout
impl RefUnwindSafe for CameraLayout
impl Send for CameraLayout
impl Sync for CameraLayout
impl Unpin for CameraLayout
impl UnsafeUnpin for CameraLayout
impl UnwindSafe for CameraLayout
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