pub struct Subroutine {
pub name: String,
pub index: Option<u32>,
}Expand description
A Workshop subroutine declaration.
Fields§
§name: String§index: Option<u32>The raw Workshop declaration index, when the declaration has one.
Implementations§
Trait Implementations§
Source§impl Clone for Subroutine
impl Clone for Subroutine
Source§fn clone(&self) -> Subroutine
fn clone(&self) -> Subroutine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Subroutine
impl Debug for Subroutine
impl Eq for Subroutine
Source§impl PartialEq for Subroutine
impl PartialEq for Subroutine
impl StructuralPartialEq for Subroutine
Auto Trait Implementations§
impl Freeze for Subroutine
impl RefUnwindSafe for Subroutine
impl Send for Subroutine
impl Sync for Subroutine
impl Unpin for Subroutine
impl UnsafeUnpin for Subroutine
impl UnwindSafe for Subroutine
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