Enum vulkano::pipeline::PartialStateMode
source · [−]pub enum PartialStateMode<F, D> {
Fixed(F),
Dynamic(D),
}
Expand description
A variant of StateMode
that is used for cases where some value is still needed when the state
is dynamic.
Variants
Fixed(F)
Dynamic(D)
Trait Implementations
sourceimpl<F: Clone, D: Clone> Clone for PartialStateMode<F, D>
impl<F: Clone, D: Clone> Clone for PartialStateMode<F, D>
sourcefn clone(&self) -> PartialStateMode<F, D>
fn clone(&self) -> PartialStateMode<F, D>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<F: Debug, D: Debug> Debug for PartialStateMode<F, D>
impl<F: Debug, D: Debug> Debug for PartialStateMode<F, D>
sourceimpl<F: PartialEq, D: PartialEq> PartialEq<PartialStateMode<F, D>> for PartialStateMode<F, D>
impl<F: PartialEq, D: PartialEq> PartialEq<PartialStateMode<F, D>> for PartialStateMode<F, D>
sourcefn eq(&self, other: &PartialStateMode<F, D>) -> bool
fn eq(&self, other: &PartialStateMode<F, D>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PartialStateMode<F, D>) -> bool
fn ne(&self, other: &PartialStateMode<F, D>) -> bool
This method tests for !=
.
impl<F: Copy, D: Copy> Copy for PartialStateMode<F, D>
impl<F: Eq, D: Eq> Eq for PartialStateMode<F, D>
impl<F, D> StructuralEq for PartialStateMode<F, D>
impl<F, D> StructuralPartialEq for PartialStateMode<F, D>
Auto Trait Implementations
impl<F, D> RefUnwindSafe for PartialStateMode<F, D> where
D: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, D> Send for PartialStateMode<F, D> where
D: Send,
F: Send,
impl<F, D> Sync for PartialStateMode<F, D> where
D: Sync,
F: Sync,
impl<F, D> Unpin for PartialStateMode<F, D> where
D: Unpin,
F: Unpin,
impl<F, D> UnwindSafe for PartialStateMode<F, D> where
D: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more