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 Eq for Target[src]
impl Eq for Targetimpl PartialEq for Target[src]
impl PartialEq for Targetfn eq(&self, other: &Target) -> bool[src]
fn eq(&self, other: &Target) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Serialize for Target[src]
impl Serialize for Target