pub enum DockerfileElementType {
Show 47 variants
Identifier,
String,
Number,
Whitespace,
Newline,
From,
Run,
Cmd,
Label,
Maintainer,
Expose,
Env,
Add,
Copy,
Entrypoint,
Volume,
User,
Workdir,
Arg,
Onbuild,
Stopsignal,
Healthcheck,
Shell,
As,
None,
Interval,
Timeout,
StartPeriod,
Retries,
Equal,
Equals,
Colon,
Comma,
Semicolon,
Dollar,
LeftBracket,
RightBracket,
LeftBrace,
RightBrace,
LeftParen,
RightParen,
Comment,
Path,
Root,
Statement,
Error,
Eof,
}Variants§
Identifier
String
Number
Whitespace
Newline
From
Run
Cmd
Label
Maintainer
Expose
Env
Add
Copy
Entrypoint
Volume
User
Workdir
Arg
Onbuild
Stopsignal
Healthcheck
Shell
As
None
Interval
Timeout
StartPeriod
Retries
Equal
Equals
Colon
Comma
Semicolon
Dollar
LeftBracket
RightBracket
LeftBrace
RightBrace
LeftParen
RightParen
Comment
Path
Root
Statement
Error
Eof
Implementations§
Trait Implementations§
Source§impl Clone for DockerfileElementType
impl Clone for DockerfileElementType
Source§fn clone(&self) -> DockerfileElementType
fn clone(&self) -> DockerfileElementType
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 Debug for DockerfileElementType
impl Debug for DockerfileElementType
Source§impl<'de> Deserialize<'de> for DockerfileElementType
impl<'de> Deserialize<'de> for DockerfileElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for DockerfileElementType
impl ElementType for DockerfileElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<DockerfileTokenType> for DockerfileElementType
impl From<DockerfileTokenType> for DockerfileElementType
Source§fn from(token: DockerfileTokenType) -> Self
fn from(token: DockerfileTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for DockerfileElementType
impl Hash for DockerfileElementType
Source§impl PartialEq for DockerfileElementType
impl PartialEq for DockerfileElementType
Source§impl Serialize for DockerfileElementType
impl Serialize for DockerfileElementType
impl Copy for DockerfileElementType
impl Eq for DockerfileElementType
impl StructuralPartialEq for DockerfileElementType
Auto Trait Implementations§
impl Freeze for DockerfileElementType
impl RefUnwindSafe for DockerfileElementType
impl Send for DockerfileElementType
impl Sync for DockerfileElementType
impl Unpin for DockerfileElementType
impl UnwindSafe for DockerfileElementType
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