Skip to main content

casts_from

Function casts_from 

Source
pub fn casts_from(ty: DataType) -> Vec<(DataType, CastContext, bool)>
Expand description

Every cast out of ty registered in CAST_CATALOG, in catalog order. Each tuple is (target, context, lossy) read straight from the catalog row.