[−][src]Struct libfirm_rs::Tarval
Methods
impl Tarval[src]
impl Tarvalpub fn unknown() -> Self[src]
pub fn unknown() -> Selfpub fn bad() -> Self[src]
pub fn bad() -> Selfpub fn bool_val(val: bool) -> Self[src]
pub fn bool_val(val: bool) -> Selfpub fn mj_int(val: i64) -> Self[src]
pub fn mj_int(val: i64) -> Selfpub fn mj_size(val: i64) -> Self[src]
pub fn mj_size(val: i64) -> Selfused for mjrt_new
pub fn zero(mode: Mode) -> Self[src]
pub fn zero(mode: Mode) -> Selfpub fn is_zero(self) -> bool[src]
pub fn is_zero(self) -> boolpub fn val(val: i64, mode: Mode) -> Self[src]
pub fn val(val: i64, mode: Mode) -> Selfpub fn is_bool_val(self, val: bool) -> bool[src]
pub fn is_bool_val(self, val: bool) -> boolpub fn is_long(self) -> bool[src]
pub fn is_long(self) -> boolpub fn is_constant(self) -> bool[src]
pub fn is_constant(self) -> bool- Returns non-zero if the tarval is a constant (i.e.
- NOT a reserved tarval like bad, undef, reachable etc.)
pub fn is_bad(self) -> bool[src]
pub fn is_bad(self) -> boolpub fn is_unknown(self) -> bool[src]
pub fn is_unknown(self) -> boolpub fn mode(self) -> Mode[src]
pub fn mode(self) -> Modepub fn kind(self) -> TarvalKind[src]
pub fn kind(self) -> TarvalKindpub fn cast(self, mode: Mode) -> Option<Self>[src]
pub fn cast(self, mode: Mode) -> Option<Self>pub fn can_be_cast_into(self, mode: Mode) -> bool[src]
pub fn can_be_cast_into(self, mode: Mode) -> boolpub fn get_long(self) -> i64[src]
pub fn get_long(self) -> i64pub fn lattice_cmp(self, rel: Type, other: Self) -> Self[src]
pub fn lattice_cmp(self, rel: Type, other: Self) -> Selfpub fn lattice_eq(self, o: Self) -> bool[src]
pub fn lattice_eq(self, o: Self) -> boolpub fn join(self, o: Self) -> Self[src]
pub fn join(self, o: Self) -> SelfTrait Implementations
impl PartialEq<Tarval> for Tarval[src]
impl PartialEq<Tarval> for Tarvalfn eq(&self, o: &Self) -> bool[src]
fn eq(&self, o: &Self) -> bool#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl From<*mut ir_tarval> for Tarval[src]
impl From<*mut ir_tarval> for Tarvalimpl From<Tarval> for *mut ir_tarval[src]
impl From<Tarval> for *mut ir_tarvalimpl Clone for Tarval[src]
impl Clone for Tarvalfn clone(&self) -> Tarval[src]
fn clone(&self) -> Tarvalfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Tarval[src]
impl Copy for Tarvalimpl Eq for Tarval[src]
impl Eq for Tarvalimpl Into<*const ir_tarval> for Tarval[src]
impl Into<*const ir_tarval> for Tarvalimpl Debug for Tarval[src]
impl Debug for Tarvalimpl Rem<Tarval> for Tarval[src]
impl Rem<Tarval> for Tarvaltype Output = Tarval
The resulting type after applying the % operator.
fn rem(self, other: Tarval) -> Tarval[src]
fn rem(self, other: Tarval) -> Tarvalimpl Div<Tarval> for Tarval[src]
impl Div<Tarval> for Tarvaltype Output = Tarval
The resulting type after applying the / operator.
fn div(self, other: Tarval) -> Tarval[src]
fn div(self, other: Tarval) -> Tarvalimpl Add<Tarval> for Tarval[src]
impl Add<Tarval> for Tarvaltype Output = Tarval
The resulting type after applying the + operator.
fn add(self, other: Tarval) -> Tarval[src]
fn add(self, other: Tarval) -> Tarvalimpl Sub<Tarval> for Tarval[src]
impl Sub<Tarval> for Tarvaltype Output = Tarval
The resulting type after applying the - operator.
fn sub(self, other: Tarval) -> Tarval[src]
fn sub(self, other: Tarval) -> Tarvalimpl Mul<Tarval> for Tarval[src]
impl Mul<Tarval> for Tarvaltype Output = Tarval
The resulting type after applying the * operator.
fn mul(self, other: Tarval) -> Tarval[src]
fn mul(self, other: Tarval) -> Tarvalimpl Neg for Tarval[src]
impl Neg for Tarvalimpl BitXor<Tarval> for Tarval[src]
impl BitXor<Tarval> for TarvalAuto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId