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