Struct v8::IndexedPropertyHandlerConfiguration
source · pub struct IndexedPropertyHandlerConfiguration<'s> { /* private fields */ }
Implementations§
source§impl<'s> IndexedPropertyHandlerConfiguration<'s>
impl<'s> IndexedPropertyHandlerConfiguration<'s>
pub fn new() -> Self
pub fn is_some(&self) -> bool
pub fn getter(
self,
getter: impl MapFnTo<IndexedPropertyGetterCallback<'s>>
) -> Self
pub fn setter(
self,
setter: impl MapFnTo<IndexedPropertySetterCallback<'s>>
) -> Self
pub fn query(
self,
query: impl MapFnTo<IndexedPropertyGetterCallback<'s>>
) -> Self
pub fn deleter(
self,
deleter: impl MapFnTo<IndexedPropertyGetterCallback<'s>>
) -> Self
pub fn enumerator(
self,
enumerator: impl MapFnTo<PropertyEnumeratorCallback<'s>>
) -> Self
pub fn descriptor(
self,
descriptor: impl MapFnTo<IndexedPropertyGetterCallback<'s>>
) -> Self
Trait Implementations§
source§impl<'s> Default for IndexedPropertyHandlerConfiguration<'s>
impl<'s> Default for IndexedPropertyHandlerConfiguration<'s>
source§fn default() -> IndexedPropertyHandlerConfiguration<'s>
fn default() -> IndexedPropertyHandlerConfiguration<'s>
Returns the “default value” for a type. Read more