pub struct CStruct {
pub c_name: String,
pub fields: Vec<(String, String)>,
}Expand description
A struct of scalar fields that crosses the bridge by value.
Fields§
§c_name: StringThe type as C code names it (AVRational, struct point).
fields: Vec<(String, String)>(C scalar type, field name) in declaration order.
Implementations§
Trait Implementations§
impl Eq for CStruct
impl StructuralPartialEq for CStruct
Auto Trait Implementations§
impl Forget for CStruct
impl Freeze for CStruct
impl Move for CStruct
impl RefUnwindSafe for CStruct
impl Send for CStructwhere
RawVecInner: Send,
impl Sync for CStructwhere
RawVecInner: Sync,
impl Unpin for CStruct
impl UnsafeUnpin for CStructwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for CStructwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.