pub enum ClipResolution {
Fixed {
width: usize,
height: usize,
},
Variable,
}Expand description
Resolution state known for graph clip.
Variants§
Fixed
Clip always uses one concrete resolution.
Variable
Clip can vary resolution by frame. Unsupported in Phase 1.
Trait Implementations§
Source§impl Clone for ClipResolution
impl Clone for ClipResolution
Source§fn clone(&self) -> ClipResolution
fn clone(&self) -> ClipResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClipResolution
impl Debug for ClipResolution
Source§impl PartialEq for ClipResolution
impl PartialEq for ClipResolution
Source§fn eq(&self, other: &ClipResolution) -> bool
fn eq(&self, other: &ClipResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClipResolution
impl StructuralPartialEq for ClipResolution
Auto Trait Implementations§
impl Freeze for ClipResolution
impl RefUnwindSafe for ClipResolution
impl Send for ClipResolution
impl Sync for ClipResolution
impl Unpin for ClipResolution
impl UnsafeUnpin for ClipResolution
impl UnwindSafe for ClipResolution
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