Trait GPUBufferMethods 
Source pub trait GPUBufferMethods<D>{
    // Required methods
    fn Size(&self) -> u64;
    fn Usage(&self) -> u32;
    fn MapState(&self) -> GPUBufferMapState;
    fn MapAsync(
        &self,
        mode: u32,
        offset: u64,
        size: Option<u64>,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<<D as DomTypes>::Promise>;
    fn GetMappedRange(
        &self,
        cx: JSContext,
        offset: u64,
        size: Option<u64>,
        _can_gc: CanGc,
    ) -> Result<TypedArray<ArrayBufferU8, *mut JSObject>, Error>;
    fn Unmap(&self);
    fn Destroy(&self);
    fn Label(&self) -> USVString;
    fn SetLabel(&self, value: USVString);
}