pub struct Attribute<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> { /* private fields */ }Implementations§
Source§impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Attribute<VertexArrayObjectId, BufferId, AttributeId>
pub fn vao_ids(&self) -> &[VertexArrayObjectId]
pub fn buffer_id(&self) -> &BufferId
pub fn webgl_buffer(&self) -> &WebGlBuffer
pub fn attribute_location(&self) -> &AttributeLocation
Trait Implementations§
Source§impl<VertexArrayObjectId: Clone + Id, BufferId: Clone + Id, AttributeId: Clone + Id + IdName> Clone for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Clone + Id, BufferId: Clone + Id, AttributeId: Clone + Id + IdName> Clone for Attribute<VertexArrayObjectId, BufferId, AttributeId>
Source§impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Debug for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Debug for Attribute<VertexArrayObjectId, BufferId, AttributeId>
Source§impl From<&Attribute<String, String, String>> for AttributeJs
impl From<&Attribute<String, String, String>> for AttributeJs
Source§fn from(js_attribute_inner: &AttributeJsInner) -> Self
fn from(js_attribute_inner: &AttributeJsInner) -> Self
Converts to this type from the input type.
Source§impl From<Attribute<String, String, String>> for AttributeJs
impl From<Attribute<String, String, String>> for AttributeJs
Source§fn from(js_attribute_inner: AttributeJsInner) -> Self
fn from(js_attribute_inner: AttributeJsInner) -> Self
Converts to this type from the input type.
Source§impl From<Attribute<String, String, String>> for JsValue
impl From<Attribute<String, String, String>> for JsValue
Source§fn from(attribute: AttributeJsInner) -> Self
fn from(attribute: AttributeJsInner) -> Self
Converts to this type from the input type.
Source§impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Hash for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Hash for Attribute<VertexArrayObjectId, BufferId, AttributeId>
Source§impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> PartialEq for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> PartialEq for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId: Id, BufferId: Id, AttributeId: Id + IdName> Eq for Attribute<VertexArrayObjectId, BufferId, AttributeId>
Auto Trait Implementations§
impl<VertexArrayObjectId, BufferId, AttributeId> Freeze for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId, BufferId, AttributeId> RefUnwindSafe for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId, BufferId, AttributeId> !Send for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId, BufferId, AttributeId> !Sync for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId, BufferId, AttributeId> Unpin for Attribute<VertexArrayObjectId, BufferId, AttributeId>
impl<VertexArrayObjectId, BufferId, AttributeId> UnwindSafe for Attribute<VertexArrayObjectId, BufferId, AttributeId>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more