pub enum Rule {
Show 71 variants
EOI,
dockerfile,
meta_step,
step,
ws,
comment,
comment_line,
empty_line,
double_quoted_string,
inner,
escape,
unicode,
single_quoted_string,
single_quoted_inner,
string,
line_continuation,
arg_ws,
arg_ws_maybe,
any_content,
any_breakable,
any_eol,
any_whitespace,
identifier_whitespace,
any_equals,
string_array,
from_flag_name,
from_flag_value,
from_flag,
from_image,
from_alias,
from_alias_outer,
from,
arg_name,
arg_value,
arg_quoted_value,
arg,
label_name,
label_quoted_name,
label_value,
label_quoted_value,
label_pair,
label_single_name,
label_single_quoted_name,
label_single,
label,
run_shell,
run_exec,
run,
entrypoint_shell,
entrypoint_exec,
entrypoint,
cmd_shell,
cmd_exec,
cmd,
copy_flag_name,
copy_flag_value,
copy_flag,
copy_pathspec,
copy,
env_name,
env_pair_value,
env_pair_quoted_value,
env_pair,
env_pairs,
env_single_quoted_value,
env_single_value,
env_single,
env,
misc_instruction,
misc_arguments,
misc,
}
Variants§
EOI
End-of-input
dockerfile
meta_step
step
ws
comment
comment_line
empty_line
double_quoted_string
inner
escape
unicode
single_quoted_string
single_quoted_inner
string
line_continuation
arg_ws
arg_ws_maybe
any_content
any_breakable
any_eol
any_whitespace
identifier_whitespace
any_equals
string_array
from_flag_name
from_flag_value
from_flag
from_image
from_alias
from_alias_outer
from
arg_name
arg_value
arg_quoted_value
arg
label_name
label_quoted_name
label_value
label_quoted_value
label_pair
label_single_name
label_single_quoted_name
label_single
label
run_shell
run_exec
run
entrypoint_shell
entrypoint_exec
entrypoint
cmd_shell
cmd_exec
cmd
copy_flag_name
copy_flag_value
copy_flag
copy_pathspec
copy
env_name
env_pair_value
env_pair_quoted_value
env_pair
env_pairs
env_single_quoted_value
env_single_value
env_single
env
misc_instruction
misc_arguments
misc
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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