[−][src]Struct libfirm_rs::Entity
Methods
impl Entity
[src]
impl Entity
pub fn new_entity(owning_ty: Ty, name: &str, ty: Ty) -> Self
[src]
pub fn new_entity(owning_ty: Ty, name: &str, ty: Ty) -> Self
pub fn new_global(id: &str, ty: Ty) -> Self
[src]
pub fn new_global(id: &str, ty: Ty) -> Self
pub fn new(ir_entity: *mut ir_entity) -> Self
[src]
pub fn new(ir_entity: *mut ir_entity) -> Self
pub fn ir_entity(self) -> *mut ir_entity
[src]
pub fn ir_entity(self) -> *mut ir_entity
pub fn ty(self) -> Ty
[src]
pub fn ty(self) -> Ty
pub fn owner(self) -> Ty
[src]
pub fn owner(self) -> Ty
pub fn name(self) -> &'static CStr
[src]
pub fn name(self) -> &'static CStr
pub fn name_string(self) -> String
[src]
pub fn name_string(self) -> String
pub fn ld_name(self) -> &'static CStr
[src]
pub fn ld_name(self) -> &'static CStr
pub fn graph(self) -> Option<Graph>
[src]
pub fn graph(self) -> Option<Graph>
pub fn offset(self) -> i32
[src]
pub fn offset(self) -> i32
Trait Implementations
impl PartialEq<Entity> for Entity
[src]
impl PartialEq<Entity> for Entity
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<*mut ir_entity> for Entity
[src]
impl From<*mut ir_entity> for Entity
impl From<Entity> for *mut ir_entity
[src]
impl From<Entity> for *mut ir_entity
impl Clone for Entity
[src]
impl Clone for Entity
fn clone(&self) -> Entity
[src]
fn clone(&self) -> Entity
fn 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 Entity
[src]
impl Copy for Entity
impl Eq for Entity
[src]
impl Eq for Entity
impl Hash for Entity
[src]
impl Hash for Entity
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<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 T
impl<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