Struct gfx::handle::RawBuffer [−][src]
Untyped buffer handle
Methods from Deref<Target = Raw<R>>
pub fn get_info(&self) -> &Info
[src]
Get buffer info
pub fn is_mapped(&self) -> bool
[src]
Is this buffer mapped ?
Trait Implementations
impl<R> Clone for RawBuffer<R> where
R: Clone + Resources,
[src]
R: Clone + Resources,
impl<R> Debug for RawBuffer<R> where
R: Debug + Resources,
[src]
R: Debug + Resources,
impl<R> Deref for RawBuffer<R> where
R: Resources,
[src]
R: Resources,
type Target = Raw<R>
The resulting type after dereferencing.
pub fn deref(&self) -> &<RawBuffer<R> as Deref>::Target
[src]
impl<R> Eq for RawBuffer<R> where
R: Eq + Resources,
[src]
R: Eq + Resources,
impl<R> Hash for RawBuffer<R> where
R: Hash + Resources,
[src]
R: Hash + Resources,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<R> PartialEq<RawBuffer<R>> for RawBuffer<R> where
R: PartialEq<R> + Resources,
[src]
R: PartialEq<R> + Resources,
pub fn eq(&self, other: &RawBuffer<R>) -> bool
[src]
pub fn ne(&self, other: &RawBuffer<R>) -> bool
[src]
impl<R> StructuralEq for RawBuffer<R> where
R: Resources,
[src]
R: Resources,
impl<R> StructuralPartialEq for RawBuffer<R> where
R: Resources,
[src]
R: Resources,
Auto Trait Implementations
impl<R> !RefUnwindSafe for RawBuffer<R>
impl<R> Send for RawBuffer<R>
impl<R> Sync for RawBuffer<R>
impl<R> Unpin for RawBuffer<R>
impl<R> !UnwindSafe for RawBuffer<R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,