pub struct ClipSpace {
pub depth: Depth,
pub horizontal: Horizontal,
pub vertical: Vertical,
}Expand description
Representation of clip-space information.
Fields§
§depth: DepthThe depth range.
horizontal: HorizontalThe horizontal range.
vertical: VerticalThe vertical range.
Implementations§
source§impl ClipSpace
impl ClipSpace
sourcepub const fn new(
depth: Depth,
horizontal: Horizontal,
vertical: Vertical,
) -> Self
pub const fn new( depth: Depth, horizontal: Horizontal, vertical: Vertical, ) -> Self
Creates a new clip-space information.
§Parameters
depth- The depth range.horizontal- The horizontal range.vertical- The vertical range.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClipSpace
impl RefUnwindSafe for ClipSpace
impl Send for ClipSpace
impl Sync for ClipSpace
impl Unpin for ClipSpace
impl UnwindSafe for ClipSpace
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