Struct nj_core::PropertiesBuilder
source · pub struct PropertiesBuilder(/* private fields */);
Implementations§
source§impl PropertiesBuilder
impl PropertiesBuilder
pub fn new() -> Self
pub fn append(self, property: Property) -> Self
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 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