Struct v8::NamedPropertyHandlerConfiguration
source · pub struct NamedPropertyHandlerConfiguration<'s> { /* private fields */ }
Implementations
sourceimpl<'s> NamedPropertyHandlerConfiguration<'s>
impl<'s> NamedPropertyHandlerConfiguration<'s>
pub fn new() -> Self
pub fn is_some(&self) -> bool
pub fn getter(self, getter: impl MapFnTo<AccessorNameGetterCallback<'s>>) -> Self
pub fn setter(self, setter: impl MapFnTo<AccessorNameSetterCallback<'s>>) -> Self
pub fn query(self, query: impl MapFnTo<AccessorNameGetterCallback<'s>>) -> Self
pub fn deleter(
self,
deleter: impl MapFnTo<AccessorNameGetterCallback<'s>>
) -> Self
pub fn enumerator(
self,
enumerator: impl MapFnTo<PropertyEnumeratorCallback<'s>>
) -> Self
pub fn descriptor(
self,
descriptor: impl MapFnTo<AccessorNameGetterCallback<'s>>
) -> Self
Trait Implementations
sourceimpl<'s> Default for NamedPropertyHandlerConfiguration<'s>
impl<'s> Default for NamedPropertyHandlerConfiguration<'s>
sourcefn default() -> NamedPropertyHandlerConfiguration<'s>
fn default() -> NamedPropertyHandlerConfiguration<'s>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'s> RefUnwindSafe for NamedPropertyHandlerConfiguration<'s>
impl<'s> !Send for NamedPropertyHandlerConfiguration<'s>
impl<'s> !Sync for NamedPropertyHandlerConfiguration<'s>
impl<'s> Unpin for NamedPropertyHandlerConfiguration<'s>
impl<'s> UnwindSafe for NamedPropertyHandlerConfiguration<'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