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 CStruct
impl Sync for CStruct
impl Unpin for CStruct
impl UnsafeUnpin for CStruct
impl UnwindSafe for CStruct
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.