enum VariableType {
Array,
String,
}
Expand description
A type of variable found in the output of the alpm-pkgbuild-bridge
script.
Variants§
Implementations§
Source§impl VariableType
impl VariableType
Sourcepub fn parser(input: &mut &str) -> ModalResult<VariableType>
pub fn parser(input: &mut &str) -> ModalResult<VariableType>
Recognizes a VariableType
in a variable declaration line in the output of the
alpm-pkgbuild-bridge
script.
This parser is aware of its surrounding and consumes preceding spaces.
§Errors
Returns an error if no VariableType
is found in input
.
Trait Implementations§
Source§impl Debug for VariableType
impl Debug for VariableType
Source§impl FromStr for VariableType
impl FromStr for VariableType
Source§impl TryFrom<&str> for VariableType
impl TryFrom<&str> for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
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