Struct v8::IndexedPropertyHandlerConfiguration
source · [−]pub struct IndexedPropertyHandlerConfiguration<'s> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'s> Default for IndexedPropertyHandlerConfiguration<'s>
impl<'s> Default for IndexedPropertyHandlerConfiguration<'s>
sourcefn default() -> IndexedPropertyHandlerConfiguration<'s>
fn default() -> IndexedPropertyHandlerConfiguration<'s>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'s> RefUnwindSafe for IndexedPropertyHandlerConfiguration<'s>
impl<'s> !Send for IndexedPropertyHandlerConfiguration<'s>
impl<'s> !Sync for IndexedPropertyHandlerConfiguration<'s>
impl<'s> Unpin for IndexedPropertyHandlerConfiguration<'s>
impl<'s> UnwindSafe for IndexedPropertyHandlerConfiguration<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more