pub struct InheritanceSpecifier {
pub arguments: Option<Vec<Expression>>,
pub base_name: InheritanceSpecifierBaseName,
pub id: i64,
pub node_type: InheritanceSpecifierNodeType,
pub src: SourceLocation,
}
Expand description
InheritanceSpecifier
JSON schema
{
"type": "object",
"required": [
"baseName",
"id",
"nodeType",
"src"
],
"properties": {
"arguments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Expression"
}
},
{
"type": "null"
}
]
},
"baseName": {
"anyOf": [
{
"$ref": "#/definitions/UserDefinedTypeName"
},
{
"$ref": "#/definitions/IdentifierPath"
}
]
},
"id": {
"type": "integer"
},
"nodeType": {
"enum": [
"InheritanceSpecifier"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§arguments: Option<Vec<Expression>>
§base_name: InheritanceSpecifierBaseName
§id: i64
§node_type: InheritanceSpecifierNodeType
§src: SourceLocation
Trait Implementations§
Source§impl Clone for InheritanceSpecifier
impl Clone for InheritanceSpecifier
Source§fn clone(&self) -> InheritanceSpecifier
fn clone(&self) -> InheritanceSpecifier
Returns a copy 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 InheritanceSpecifier
impl Debug for InheritanceSpecifier
Source§impl<'de> Deserialize<'de> for InheritanceSpecifier
impl<'de> Deserialize<'de> for InheritanceSpecifier
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 From<&InheritanceSpecifier> for InheritanceSpecifier
impl From<&InheritanceSpecifier> for InheritanceSpecifier
Source§fn from(value: &InheritanceSpecifier) -> Self
fn from(value: &InheritanceSpecifier) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InheritanceSpecifier
impl RefUnwindSafe for InheritanceSpecifier
impl Send for InheritanceSpecifier
impl Sync for InheritanceSpecifier
impl Unpin for InheritanceSpecifier
impl UnwindSafe for InheritanceSpecifier
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