pub struct PropertiesBuilder(/* private fields */);
Implementations§
Source§impl PropertiesBuilder
impl PropertiesBuilder
pub fn new() -> PropertiesBuilder
pub fn append(self, property: Property) -> PropertiesBuilder
pub fn mut_append(&mut self, property: Property)
pub fn as_raw_properties(&self) -> Vec<napi_property_descriptor>
Trait Implementations§
Source§impl Debug for PropertiesBuilder
impl Debug for PropertiesBuilder
Source§impl Default for PropertiesBuilder
impl Default for PropertiesBuilder
Source§fn default() -> PropertiesBuilder
fn default() -> PropertiesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PropertiesBuilder
impl RefUnwindSafe for PropertiesBuilder
impl Send for PropertiesBuilder
impl Sync for PropertiesBuilder
impl Unpin for PropertiesBuilder
impl UnwindSafe for PropertiesBuilder
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