[−][src]Trait ergo_lib::ast::constant::TryExtractFrom
Extract underlying value if type matches
Required methods
pub fn try_extract_from(v: T) -> Result<Self, TryExtractFromError>
[src]
Extract the value or return an error if type does not match