pub struct NodeParamDisconnectedEventParamsBuilder { /* private fields */ }Expand description
Builder for NodeParamDisconnectedEventParams.
Implementations§
Source§impl NodeParamDisconnectedEventParamsBuilder
impl NodeParamDisconnectedEventParamsBuilder
pub fn context_id(&mut self, value: GraphObjectId) -> &mut Self
pub fn source_id(&mut self, value: GraphObjectId) -> &mut Self
pub fn destination_id(&mut self, value: GraphObjectId) -> &mut Self
pub fn source_output_index(&mut self, value: Option<JsFloat>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<NodeParamDisconnectedEventParams, NodeParamDisconnectedEventParamsBuilderError>
pub fn build( &self, ) -> Result<NodeParamDisconnectedEventParams, NodeParamDisconnectedEventParamsBuilderError>
Builds a new NodeParamDisconnectedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for NodeParamDisconnectedEventParamsBuilder
impl Clone for NodeParamDisconnectedEventParamsBuilder
Source§fn clone(&self) -> NodeParamDisconnectedEventParamsBuilder
fn clone(&self) -> NodeParamDisconnectedEventParamsBuilder
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 NodeParamDisconnectedEventParamsBuilder
impl RefUnwindSafe for NodeParamDisconnectedEventParamsBuilder
impl Send for NodeParamDisconnectedEventParamsBuilder
impl Sync for NodeParamDisconnectedEventParamsBuilder
impl Unpin for NodeParamDisconnectedEventParamsBuilder
impl UnsafeUnpin for NodeParamDisconnectedEventParamsBuilder
impl UnwindSafe for NodeParamDisconnectedEventParamsBuilder
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