[go: up one dir, main page]

Enum gltf::buffer::Target[][src]

pub enum Target {
    ArrayBuffer,
    ElementArrayBuffer,
}

Specifies the target a GPU buffer should be bound to.

Variants

Corresponds to GL_ARRAY_BUFFER.

Corresponds to GL_ELEMENT_ARRAY_BUFFER.

Trait Implementations

impl Clone for Target
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Target
[src]

Formats the value using the given formatter. Read more

impl Copy for Target
[src]

impl Eq for Target
[src]

impl PartialEq<Target> for Target
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for Target
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Target

impl Sync for Target