pub struct InterfaceProperty {
pub name: String,
pub type_name: String,
pub optional: bool,
pub readonly: bool,
}Expand description
接口属性信息
表示接口中的属性定义。
Fields§
§name: String属性名称
type_name: String属性类型
optional: bool是否可选
readonly: bool是否只读
Trait Implementations§
Source§impl Clone for InterfaceProperty
impl Clone for InterfaceProperty
Source§fn clone(&self) -> InterfaceProperty
fn clone(&self) -> InterfaceProperty
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 moreSource§impl Debug for InterfaceProperty
impl Debug for InterfaceProperty
Source§impl PartialEq for InterfaceProperty
impl PartialEq for InterfaceProperty
impl Eq for InterfaceProperty
impl StructuralPartialEq for InterfaceProperty
Auto Trait Implementations§
impl Freeze for InterfaceProperty
impl RefUnwindSafe for InterfaceProperty
impl Send for InterfaceProperty
impl Sync for InterfaceProperty
impl Unpin for InterfaceProperty
impl UnsafeUnpin for InterfaceProperty
impl UnwindSafe for InterfaceProperty
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