pub fn new(
        actual: &'a Sub,
        expr: String,
        description: Option<String>,
        option: Opt,
        location: Option<Location>,
        return_type: PhantomData<Ret>,
    ) -> Self {
        Subject {
            actual: ActualValue::Borrowed(actual),
            expr,
            description,
            option,
            location,
            return_type,
        }
    }
// Used by macros.
/// Creates a new subject with a referenced actual value.
Used by macros.
Creates a new subject with a referenced actual value.
Used by macros . Creates a new subject with a referenced actual value .
pub fn new(
        actual: &'a Sub,
        expr: String,
        description: Option<String>,
        option: Opt,
        location: Option<Location>,
        return_type: PhantomData<Ret>,
    ) -> Self {
        Subject {
            actual: ActualValue::Borrowed(actual),
            expr,
            description,
            option,
            location,
            return_type,
        }
    }
pub fn new ( actual : & ' a Sub , expr : String , description : Option < String > , option : Opt , location : Option < Location > , return_type : PhantomData < Ret > , ) -> Self { Subject { actual : ActualValue :: Borrowed ( actual ) , expr , description , option , location , return_type , } }
Used by macros.
Used by macros .
actual
&'a Sub
expr
String
description
Option<String>
option
Opt
location
Option<Location>
return_type
PhantomData<Ret>