Struct interoptopus::lang::c::Field
source · pub struct Field { /* private fields */ }
Expand description
Fields of a CompositeType
.
Implementations§
source§impl Field
impl Field
pub fn new(name: String, the_type: CType) -> Self
pub fn with_documentation( name: String, the_type: CType, visibility: Visibility, documentation: Documentation ) -> Self
pub fn name(&self) -> &str
pub fn the_type(&self) -> &CType
pub fn visibility(&self) -> &Visibility
pub fn documentation(&self) -> &Documentation
Trait Implementations§
source§impl Ord for Field
impl Ord for Field
source§impl PartialEq for Field
impl PartialEq for Field
source§impl PartialOrd for Field
impl PartialOrd for Field
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more