pub struct InternalPropertyDescriptorBuilder { /* private fields */ }Expand description
Builder for InternalPropertyDescriptor.
Implementations§
Source§impl InternalPropertyDescriptorBuilder
impl InternalPropertyDescriptorBuilder
Sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Conventional property name.
Sourcepub fn value<VALUE: Into<RemoteObject>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<RemoteObject>>(&mut self, value: VALUE) -> &mut Self
The value associated with the property.
Sourcepub fn build(
&self,
) -> Result<InternalPropertyDescriptor, InternalPropertyDescriptorBuilderError>
pub fn build( &self, ) -> Result<InternalPropertyDescriptor, InternalPropertyDescriptorBuilderError>
Trait Implementations§
Source§impl Clone for InternalPropertyDescriptorBuilder
impl Clone for InternalPropertyDescriptorBuilder
Source§fn clone(&self) -> InternalPropertyDescriptorBuilder
fn clone(&self) -> InternalPropertyDescriptorBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InternalPropertyDescriptorBuilder
impl RefUnwindSafe for InternalPropertyDescriptorBuilder
impl Send for InternalPropertyDescriptorBuilder
impl Sync for InternalPropertyDescriptorBuilder
impl Unpin for InternalPropertyDescriptorBuilder
impl UnsafeUnpin for InternalPropertyDescriptorBuilder
impl UnwindSafe for InternalPropertyDescriptorBuilder
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