Enum gltf::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 Serialize for Target[src]
impl Serialize for Targetfn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
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 Debug for Target[src]
impl Debug for Targetfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for Target[src]
impl Copy for Target