[−][src]Struct libfirm_rs::types::ClassTy
Methods
impl ClassTy
[src]
impl ClassTy
impl ClassTy
[src]
impl ClassTy
pub fn new(name: &str) -> Self
[src]
pub fn new(name: &str) -> Self
pub fn default_layout(self)
[src]
pub fn default_layout(self)
pub fn fields(
self
) -> impl Iterator<Item = Entity>
[src]
pub fn fields(
self
) -> impl Iterator<Item = Entity>
pub fn idx_of_field(self, field: Entity) -> usize
[src]
pub fn idx_of_field(self, field: Entity) -> usize
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 remove_member(self, member: Entity)
[src]
pub fn remove_member(self, member: Entity)
Trait Implementations
impl TyTrait for ClassTy
[src]
impl TyTrait for ClassTy
fn ir_type(self) -> *mut ir_type
[src]
fn ir_type(self) -> *mut ir_type
fn pointer(self) -> PointerTy
[src]
fn pointer(self) -> PointerTy
fn array(self) -> ArrayTy
[src]
fn array(self) -> ArrayTy
fn size(self) -> u32
[src]
fn size(self) -> u32
fn alignment(self) -> u32
[src]
fn alignment(self) -> u32
fn mode(self) -> Mode
[src]
fn mode(self) -> Mode
impl PartialEq<ClassTy> for ClassTy
[src]
impl PartialEq<ClassTy> for ClassTy
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<ClassTy> for Ty
[src]
impl From<ClassTy> for Ty
impl Clone for ClassTy
[src]
impl Clone for ClassTy
fn clone(&self) -> ClassTy
[src]
fn clone(&self) -> ClassTy
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 ClassTy
[src]
impl Copy for ClassTy
impl Eq for ClassTy
[src]
impl Eq for ClassTy
impl Debug for ClassTy
[src]
impl Debug for ClassTy
impl Hash for ClassTy
[src]
impl Hash for ClassTy
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