[][src]Macro templar::data_unwrap

macro_rules! data_unwrap {
    ($data:expr) => { ... };
}

data_unwrap!() safely unwraps a Data struct into a Document value.

If the Data is failed or empty, the data is immediately returned. Because of this, this macro can only be used in functions that return Data.