[−][src]Struct glium::buffer::WriteMapping
A mapping of a buffer for write only.
Implementations
impl<'b, D> WriteMapping<'b, D> where
D: Content + Copy,
[src]
D: Content + Copy,
impl<'b, D> WriteMapping<'b, [D]> where
[D]: Content,
D: Copy,
[src]
[D]: Content,
D: Copy,
pub fn len(&self) -> usize
[src]
Returns the length of the mapping.
pub fn set(&mut self, index: usize, value: D)
[src]
Auto Trait Implementations
impl<'b, D> !RefUnwindSafe for WriteMapping<'b, D>
impl<'b, D> !Send for WriteMapping<'b, D>
impl<'b, D: ?Sized> Sync for WriteMapping<'b, D> where
D: Send + Sync,
D: Send + Sync,
impl<'b, D: ?Sized> Unpin for WriteMapping<'b, D>
impl<'b, D> !UnwindSafe for WriteMapping<'b, D>
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,
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, 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.
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>,