pub struct CameraDofExport {
pub focus_distance: f32,
pub f_stop: f32,
pub focal_length_mm: f32,
pub sensor_width_mm: f32,
pub near_blur: f32,
pub far_blur: f32,
pub use_bokeh: bool,
pub bokeh_blades: u32,
}Expand description
Export camera depth-of-field parameters.
Fields§
§focus_distance: f32§f_stop: f32§focal_length_mm: f32§sensor_width_mm: f32§near_blur: f32§far_blur: f32§use_bokeh: bool§bokeh_blades: u32Auto Trait Implementations§
impl Freeze for CameraDofExport
impl RefUnwindSafe for CameraDofExport
impl Send for CameraDofExport
impl Sync for CameraDofExport
impl Unpin for CameraDofExport
impl UnsafeUnpin for CameraDofExport
impl UnwindSafe for CameraDofExport
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
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