pub struct BridgeField {
pub name: String,
pub ty: String,
}Expand description
用于 TypeScript 生成的桥接字段信息
Fields§
§name: String字段名称
ty: StringRust 类型
Trait Implementations§
Source§impl Clone for BridgeField
impl Clone for BridgeField
Source§fn clone(&self) -> BridgeField
fn clone(&self) -> BridgeField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BridgeField
impl RefUnwindSafe for BridgeField
impl Send for BridgeField
impl Sync for BridgeField
impl Unpin for BridgeField
impl UnsafeUnpin for BridgeField
impl UnwindSafe for BridgeField
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