Struct v8::AccessorConfiguration
source · pub struct AccessorConfiguration<'s> { /* private fields */ }
Implementations§
source§impl<'s> AccessorConfiguration<'s>
impl<'s> AccessorConfiguration<'s>
pub fn new(getter: impl MapFnTo<AccessorNameGetterCallback<'s>>) -> Self
pub fn setter( self, setter: impl MapFnTo<AccessorNameSetterCallback<'s>> ) -> Self
pub fn property_attribute(self, property_attribute: PropertyAttribute) -> Self
Auto Trait Implementations§
impl<'s> RefUnwindSafe for AccessorConfiguration<'s>
impl<'s> !Send for AccessorConfiguration<'s>
impl<'s> !Sync for AccessorConfiguration<'s>
impl<'s> Unpin for AccessorConfiguration<'s>
impl<'s> UnwindSafe for AccessorConfiguration<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more