pub enum CAbiClass {
ValueType,
ReferenceType,
}Available on crate feature
codegen only.Expand description
Classification of a LOGOS type for C ABI boundary crossing.
Value types are passed directly as #[repr(C)] values.
Reference types are passed as opaque handles with accessor functions.
Variants§
ValueType
Passed directly by value (primitives, Text, small flat structs).
ReferenceType
Passed as opaque logos_handle_t with generated accessors and free function.
Trait Implementations§
impl Copy for CAbiClass
impl StructuralPartialEq for CAbiClass
Auto Trait Implementations§
impl Freeze for CAbiClass
impl RefUnwindSafe for CAbiClass
impl Send for CAbiClass
impl Sync for CAbiClass
impl Unpin for CAbiClass
impl UnwindSafe for CAbiClass
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