pub trait SignExtendFrom<T> {
    // Required method
    fn sign_extend_from(self) -> Self;
}
Expand description

Sign-extends Self integer type from T integer type.

Required Methods§

source

fn sign_extend_from(self) -> Self

Convert one type to another by extending with leading zeroes.

Implementations on Foreign Types§

source§

impl SignExtendFrom<i32> for i64

source§

fn sign_extend_from(self) -> Self

source§

impl SignExtendFrom<i16> for i64

source§

fn sign_extend_from(self) -> Self

source§

impl SignExtendFrom<i16> for i32

source§

fn sign_extend_from(self) -> Self

source§

impl SignExtendFrom<i8> for i32

source§

fn sign_extend_from(self) -> Self

source§

impl SignExtendFrom<i8> for i64

source§

fn sign_extend_from(self) -> Self

Implementors§