Enum gltf_json::buffer::Target [−][src]
pub enum Target {
ArrayBuffer,
ElementArrayBuffer,
}Specifies the target a GPU buffer should be bound to.
Variants
ArrayBufferCorresponds to GL_ARRAY_BUFFER.
ElementArrayBufferCorresponds to GL_ELEMENT_ARRAY_BUFFER.
Trait Implementations
impl Clone for Target[src]
impl Clone for Targetfn clone(&self) -> Target[src]
fn clone(&self) -> TargetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Target[src]
impl Copy for Targetimpl Debug for Target[src]
impl Debug for Targetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Serialize for Target[src]
impl Serialize for Target