Struct rquickjs_core::Accessor [−][src]
pub struct Accessor<G, S> { /* fields omitted */ }
This is supported on crate feature
properties
only.Expand description
The accessor descriptor of a readonly property
Implementations
Make the property to be configurable
Make the property to be enumerable
Trait Implementations
impl<'js, S, SA, SR> AsProperty<'js, ((), (), SA, SR)> for Accessor<(), S> where
S: AsFunction<'js, SA, SR> + ParallelSend + 'static,
impl<'js, S, SA, SR> AsProperty<'js, ((), (), SA, SR)> for Accessor<(), S> where
S: AsFunction<'js, SA, SR> + ParallelSend + 'static,
A property with setter only
impl<'js, G, GA, GR> AsProperty<'js, (GA, GR, (), ())> for Accessor<G, ()> where
G: AsFunction<'js, GA, GR> + ParallelSend + 'static,
impl<'js, G, GA, GR> AsProperty<'js, (GA, GR, (), ())> for Accessor<G, ()> where
G: AsFunction<'js, GA, GR> + ParallelSend + 'static,
A property with getter only
impl<'js, G, GA, GR, S, SA, SR> AsProperty<'js, (GA, GR, SA, SR)> for Accessor<G, S> where
G: AsFunction<'js, GA, GR> + ParallelSend + 'static,
S: AsFunction<'js, SA, SR> + ParallelSend + 'static,
impl<'js, G, GA, GR, S, SA, SR> AsProperty<'js, (GA, GR, SA, SR)> for Accessor<G, S> where
G: AsFunction<'js, GA, GR> + ParallelSend + 'static,
S: AsFunction<'js, SA, SR> + ParallelSend + 'static,
A property with getter and setter
Auto Trait Implementations
impl<G, S> RefUnwindSafe for Accessor<G, S> where
G: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, S> UnwindSafe for Accessor<G, S> where
G: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more