pub struct RenderPassID {
pub index: usize,
}Expand description
Not RAII. Manual deletion of render_pass is required using RenderBackend::delete_render_pass.
Fields§
§index: usizeTrait Implementations§
Source§impl Clone for RenderPassID
impl Clone for RenderPassID
Source§fn clone(&self) -> RenderPassID
fn clone(&self) -> RenderPassID
Returns a copy of the value. Read more
1.0.0 · 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 RenderPassID
impl Debug for RenderPassID
Source§impl Default for RenderPassID
impl Default for RenderPassID
Source§fn default() -> RenderPassID
fn default() -> RenderPassID
Returns the “default value” for a type. Read more
Source§impl Hash for RenderPassID
impl Hash for RenderPassID
Source§impl Ord for RenderPassID
impl Ord for RenderPassID
Source§fn cmp(&self, other: &RenderPassID) -> Ordering
fn cmp(&self, other: &RenderPassID) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RenderPassID
impl PartialEq for RenderPassID
Source§impl PartialOrd for RenderPassID
impl PartialOrd for RenderPassID
impl Copy for RenderPassID
impl Eq for RenderPassID
impl StructuralPartialEq for RenderPassID
Auto Trait Implementations§
impl Freeze for RenderPassID
impl RefUnwindSafe for RenderPassID
impl Send for RenderPassID
impl Sync for RenderPassID
impl Unpin for RenderPassID
impl UnwindSafe for RenderPassID
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<Src, Dest> CastRangeFrom<Dest> for Srcwhere
Dest: CastRangeInto<Src>,
impl<Src, Dest> CastRangeFrom<Dest> for Srcwhere
Dest: CastRangeInto<Src>,
fn cast_range_from(value: Dest) -> Src
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DefaultExtension for T
impl<T> DefaultExtension for T
fn is_default(&self) -> bool
fn is_not_default(&self) -> bool
Source§impl<T> DefaultIsTripleUnderscore for Twhere
T: Default,
impl<T> DefaultIsTripleUnderscore for Twhere
T: Default,
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