pub struct DepthPlane {
pub node: Node,
pub depth: f64,
}Expand description
A 2.5D source plane; larger depth is farther from the camera.
Fields§
§node: NodeImmutable plane artwork.
depth: f64Positive camera distance in the same units as focal length.
Trait Implementations§
Source§impl Clone for DepthPlane
impl Clone for DepthPlane
Auto Trait Implementations§
impl !RefUnwindSafe for DepthPlane
impl !UnwindSafe for DepthPlane
impl Forget for DepthPlane
impl Freeze for DepthPlane
impl Move for DepthPlane
impl Send for DepthPlane
impl Sync for DepthPlane
impl Unpin for DepthPlane
impl UnsafeUnpin for DepthPlane
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