pub struct LendFrame {
pub center: LatLng,
pub zoom: f64,
pub bearing_deg: f64,
pub pitch_deg: f64,
pub projection_matrix: [[f64; 4]; 4],
pub clip_depth_zero_to_one: bool,
pub near_distance: f64,
pub far_distance: f64,
pub far_depth: f64,
pub globe: bool,
pub width: u32,
pub height: u32,
}Expand description
Frame camera, projection, and attachment dimensions during a lent GPU callback.
Fields§
§center: LatLng§zoom: f64§bearing_deg: f64§pitch_deg: f64§projection_matrix: [[f64; 4]; 4]§clip_depth_zero_to_one: bool§near_distance: f64§far_distance: f64§far_depth: f64§globe: bool§width: u32§height: u32Trait Implementations§
impl Copy for LendFrame
impl StructuralPartialEq for LendFrame
Auto Trait Implementations§
impl Forget for LendFrame
impl Freeze for LendFrame
impl Move for LendFrame
impl RefUnwindSafe for LendFrame
impl Send for LendFrame
impl Sync for LendFrame
impl Unpin for LendFrame
impl UnsafeUnpin for LendFrame
impl UnwindSafe for LendFrame
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