pub struct IndexDecl<P: Phase = Raw> {
pub visibility: BindableVisibility,
pub name: Spanned<IndexName>,
pub kind: IndexDeclKind<P>,
}Expand description
Index declaration: index Maneuver = { Departure, Correction, Insertion };
or index TimeStep = linspace(0.0 s, 100.0 s, step: 0.1 s);
Fields§
§visibility: BindableVisibility§name: Spanned<IndexName>§kind: IndexDeclKind<P>Trait Implementations§
Source§impl FormatEquivalent for IndexDecl
impl FormatEquivalent for IndexDecl
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl<P> Freeze for IndexDecl<P>
impl<P> RefUnwindSafe for IndexDecl<P>
impl<P> Send for IndexDecl<P>
impl<P> Sync for IndexDecl<P>
impl<P> Unpin for IndexDecl<P>
impl<P> UnsafeUnpin for IndexDecl<P>
impl<P> UnwindSafe for IndexDecl<P>
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