pub trait IntAttrExt {
// Required methods
fn as_value<T>(&self, ctx: &Context) -> Option<T>
where T: TypedLiteral + Copy + 'static,
i128: AsPrimitive<T>;
fn with_value<T: NumCast>(&self, ctx: &Context, new_val: T) -> Self;
}Required Methods§
fn as_value<T>(&self, ctx: &Context) -> Option<T>
fn with_value<T: NumCast>(&self, ctx: &Context, new_val: T) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".