pub fn is_default(&self) -> bool {
        // encode Ruby truthiness: all values except false and nil are true
        match self.0 {
            ScalarCowEnum::Bool(ref x) => !*x,
            ScalarCowEnum::Str(ref x) => x.is_empty(),
            _ => false,
        }
    }
/// Whether a default constructed value.
Whether a default constructed value.
Whether a default constructed value .
pub fn is_default(&self) -> bool {
        // encode Ruby truthiness: all values except false and nil are true
        match self.0 {
            ScalarCowEnum::Bool(ref x) => !*x,
            ScalarCowEnum::Str(ref x) => x.is_empty(),
            _ => false,
        }
    }
pub fn is_default ( & self ) -> bool { // encode Ruby truthiness: all values except false and nil are true match self . 0 { ScalarCowEnum :: Bool ( ref x ) => ! * x , ScalarCowEnum :: Str ( ref x ) => x . is_empty ( ) , _ => false , } }
Whether a default constructed value.
Whether a default constructed value .
&self
&self