pub struct RawBufferID {
pub index: usize,
}Expand description
Not RAII. Manual deletion of buffer is required using RenderBackend::delete_buffer.
Fields§
§index: usizeTrait Implementations§
Source§impl Clone for RawBufferID
impl Clone for RawBufferID
Source§fn clone(&self) -> RawBufferID
fn clone(&self) -> RawBufferID
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 RawBufferID
impl Debug for RawBufferID
Source§impl Default for RawBufferID
impl Default for RawBufferID
Source§fn default() -> RawBufferID
fn default() -> RawBufferID
Returns the “default value” for a type. Read more
Source§impl Hash for RawBufferID
impl Hash for RawBufferID
Source§impl Ord for RawBufferID
impl Ord for RawBufferID
Source§fn cmp(&self, other: &RawBufferID) -> Ordering
fn cmp(&self, other: &RawBufferID) -> 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 RawBufferID
impl PartialEq for RawBufferID
Source§impl PartialOrd for RawBufferID
impl PartialOrd for RawBufferID
impl Copy for RawBufferID
impl Eq for RawBufferID
impl StructuralPartialEq for RawBufferID
Auto Trait Implementations§
impl Freeze for RawBufferID
impl RefUnwindSafe for RawBufferID
impl Send for RawBufferID
impl Sync for RawBufferID
impl Unpin for RawBufferID
impl UnwindSafe for RawBufferID
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