pub struct OrthographicCameraBuilder {
pub left: Option<f32>,
pub right: Option<f32>,
pub top: Option<f32>,
pub bottom: Option<f32>,
pub near: Option<f32>,
pub far: Option<f32>,
pub position: Option<[f32; 3]>,
pub target: Option<[f32; 3]>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§left: Option<f32>§right: Option<f32>§top: Option<f32>§bottom: Option<f32>§near: Option<f32>§far: Option<f32>§position: Option<[f32; 3]>§target: Option<[f32; 3]>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl OrthographicCameraBuilder
impl OrthographicCameraBuilder
pub fn left(self, val: impl Into<Option<f32>>) -> Self
pub fn right(self, val: impl Into<Option<f32>>) -> Self
pub fn top(self, val: impl Into<Option<f32>>) -> Self
pub fn bottom(self, val: impl Into<Option<f32>>) -> Self
pub fn near(self, val: impl Into<Option<f32>>) -> Self
pub fn far(self, val: impl Into<Option<f32>>) -> Self
pub fn position(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn target(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OrthographicCameraBuilder
impl !Send for OrthographicCameraBuilder
impl !Sync for OrthographicCameraBuilder
impl !UnwindSafe for OrthographicCameraBuilder
impl Forget for OrthographicCameraBuilder
impl Freeze for OrthographicCameraBuilder
impl Move for OrthographicCameraBuilder
impl Unpin for OrthographicCameraBuilder
impl UnsafeUnpin for OrthographicCameraBuilder
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