pub struct LadNamedField {
pub name: String,
pub type_: LadTypeId,
}
Expand description
A named field definition used in a LAD file.
Fields§
§name: String
The name of the field.
type_: LadTypeId
The type of the field.
Trait Implementations§
Source§impl Clone for LadNamedField
impl Clone for LadNamedField
Source§fn clone(&self) -> LadNamedField
fn clone(&self) -> LadNamedField
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 LadNamedField
impl Debug for LadNamedField
Source§impl<'de> Deserialize<'de> for LadNamedField
impl<'de> Deserialize<'de> for LadNamedField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LadNamedField
impl PartialEq for LadNamedField
Source§impl Serialize for LadNamedField
impl Serialize for LadNamedField
impl StructuralPartialEq for LadNamedField
Auto Trait Implementations§
impl Freeze for LadNamedField
impl RefUnwindSafe for LadNamedField
impl Send for LadNamedField
impl Sync for LadNamedField
impl Unpin for LadNamedField
impl UnwindSafe for LadNamedField
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