pub struct RecipePrefix {
pub character: char,
pub known: bool,
pub unevaluated: bool,
}Expand description
The recipe prefix on a line, and whether Rumk knows the character GNU Make reads there.
Fields§
§character: charThe character Rumk reads recipe lines with. While known is false it
is the prefix that holds if the statement Rumk could not follow left
the variable alone.
known: boolWhether character is the prefix GNU Make uses. A .RECIPEPREFIX
value Rumk cannot evaluate, and one assigned in a branch Make decides
at run time, leave it unknown.
unevaluated: boolWhether a value Rumk could not evaluate stands behind the prefix, which leaves every character possible, a space included. A prefix Rumk read from the source is never a space, because Make drops the whitespace between the assignment operator and the value.
Trait Implementations§
Source§impl Clone for RecipePrefix
impl Clone for RecipePrefix
impl Copy for RecipePrefix
Source§impl Debug for RecipePrefix
impl Debug for RecipePrefix
impl Eq for RecipePrefix
Source§impl PartialEq for RecipePrefix
impl PartialEq for RecipePrefix
impl StructuralPartialEq for RecipePrefix
Auto Trait Implementations§
impl Freeze for RecipePrefix
impl RefUnwindSafe for RecipePrefix
impl Send for RecipePrefix
impl Sync for RecipePrefix
impl Unpin for RecipePrefix
impl UnsafeUnpin for RecipePrefix
impl UnwindSafe for RecipePrefix
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