pub enum FtwCommand {
New {
project_name: ProjectName,
template: FtwTemplate,
tag: FtwTag,
},
Class {
class_name: ClassName,
node_type: FtwNodeType,
},
Singleton {
class_name: ClassName,
},
Run {
machine_type: FtwMachineType,
},
Build {
targets: Vec<FtwTarget>,
build_type: FtwBuildType,
},
Export {
targets: Vec<FtwTarget>,
build_type: FtwBuildType,
},
Clean,
}Variants§
Implementations§
Source§impl FtwCommand
impl FtwCommand
Trait Implementations§
Source§impl Debug for FtwCommand
impl Debug for FtwCommand
Source§impl PartialEq for FtwCommand
impl PartialEq for FtwCommand
impl Eq for FtwCommand
impl StructuralPartialEq for FtwCommand
Auto Trait Implementations§
impl Freeze for FtwCommand
impl RefUnwindSafe for FtwCommand
impl Send for FtwCommand
impl Sync for FtwCommand
impl Unpin for FtwCommand
impl UnwindSafe for FtwCommand
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more