pub struct AtomicBuilder { /* private fields */ }Expand description
Builder for Atomic.
Implementations§
Source§impl AtomicBuilder
impl AtomicBuilder
pub fn id(&mut self, value: StateID) -> &mut Self
pub fn label<VALUE: Into<StateLabel>>(&mut self, value: VALUE) -> &mut Self
pub fn on_entry(&mut self, value: Vec<Action>) -> &mut Self
pub fn on_exit(&mut self, value: Vec<Action>) -> &mut Self
pub fn transitions(&mut self, value: Vec<Transition>) -> &mut Self
Trait Implementations§
Source§impl Clone for AtomicBuilder
impl Clone for AtomicBuilder
Source§fn clone(&self) -> AtomicBuilder
fn clone(&self) -> AtomicBuilder
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 moreSource§impl Default for AtomicBuilder
impl Default for AtomicBuilder
Source§fn default() -> AtomicBuilder
fn default() -> AtomicBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AtomicBuilder
impl !RefUnwindSafe for AtomicBuilder
impl !Send for AtomicBuilder
impl !Sync for AtomicBuilder
impl Unpin for AtomicBuilder
impl !UnwindSafe for AtomicBuilder
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