Struct ArrayBufferOptions
#[repr(transparent)]
pub struct ArrayBufferOptions { /* private fields */ }
Implementations
impl ArrayBufferOptions
fn get_max_byte_length(&self) -> usizeThe maximum size, in bytes, that the array buffer can be resized to.
impl ArrayBufferOptions
fn new(max_byte_length: usize) -> ArrayBufferOptions
impl ArrayBufferOptions
fn set_max_byte_length(&self, max_byte_length: usize)The maximum size, in bytes, that the array buffer can be resized to.
Trait Implementations
impl AsRef<ArrayBufferOptions> for ArrayBufferOptions
fn as_ref(&self) -> &ArrayBufferOptions
impl AsRef<JsValue> for ArrayBufferOptions
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for ArrayBufferOptions
fn as_ref(&self) -> &Object
impl Clone for ArrayBufferOptions
fn clone(&self) -> Self
impl Debug for ArrayBufferOptions
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for ArrayBufferOptions
type Target = Object;fn deref(&self) -> &Object
impl Eq for ArrayBufferOptions
impl ErasableGeneric for ArrayBufferOptions
type Repr = JsValue;
impl From<JsValue> for ArrayBufferOptions
fn from(obj: JsValue) -> Self
impl FromWasmAbi for ArrayBufferOptions
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for ArrayBufferOptions
where
ArrayBufferOptions: JsGeneric,
type JsCanon = ArrayBufferOptions;fn to_js(self) -> ArrayBufferOptions
impl IntoWasmAbi for ArrayBufferOptions
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for ArrayBufferOptions
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for ArrayBufferOptions
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = ArrayBufferOptions;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for ArrayBufferOptions
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for ArrayBufferOptions
fn none() -> Self::Abi
impl PartialEq for ArrayBufferOptions
fn eq(&self, other: &Self) -> bool
impl Promising for ArrayBufferOptions
type Resolution = ArrayBufferOptions;
impl RefFromWasmAbi for ArrayBufferOptions
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<ArrayBufferOptions>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl StructuralPartialEq for ArrayBufferOptions
impl UpcastFrom<ArrayBufferOptions> for ArrayBufferOptions
impl WasmDescribe for ArrayBufferOptions
fn describe()