Struct pddl_parser::domain::typedef::TypeDef
source · pub struct TypeDef {
pub name: String,
pub parent: Option<String>,
}Expand description
A type definition.
Fields§
§name: StringThe name of the type.
parent: Option<String>The parent type. If not specified, the parent type is object.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TypeDef
impl<'de> Deserialize<'de> for TypeDef
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 Ord for TypeDef
impl Ord for TypeDef
source§impl PartialEq for TypeDef
impl PartialEq for TypeDef
source§impl PartialOrd for TypeDef
impl PartialOrd for TypeDef
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for TypeDef
impl StructuralPartialEq for TypeDef
Auto Trait Implementations§
impl RefUnwindSafe for TypeDef
impl Send for TypeDef
impl Sync for TypeDef
impl Unpin for TypeDef
impl UnwindSafe for TypeDef
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