Struct pax_manifest::LiteralBlockDefinition
source · pub struct LiteralBlockDefinition {
pub explicit_type_pascal_identifier: Option<Token>,
pub elements: Vec<SettingElement>,
}
Expand description
Container for a parsed Literal object
Fields§
§explicit_type_pascal_identifier: Option<Token>
§elements: Vec<SettingElement>
Implementations§
source§impl LiteralBlockDefinition
impl LiteralBlockDefinition
pub fn new(elements: Vec<SettingElement>) -> Self
source§impl LiteralBlockDefinition
impl LiteralBlockDefinition
pub fn get_all_settings<'a>(&'a self) -> Vec<(&'a Token, &'a ValueDefinition)>
Trait Implementations§
source§impl Clone for LiteralBlockDefinition
impl Clone for LiteralBlockDefinition
source§fn clone(&self) -> LiteralBlockDefinition
fn clone(&self) -> LiteralBlockDefinition
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 LiteralBlockDefinition
impl Debug for LiteralBlockDefinition
source§impl Default for LiteralBlockDefinition
impl Default for LiteralBlockDefinition
source§fn default() -> LiteralBlockDefinition
fn default() -> LiteralBlockDefinition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiteralBlockDefinition
impl<'de> Deserialize<'de> for LiteralBlockDefinition
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 Hash for LiteralBlockDefinition
impl Hash for LiteralBlockDefinition
source§impl PartialEq for LiteralBlockDefinition
impl PartialEq for LiteralBlockDefinition
source§fn eq(&self, other: &LiteralBlockDefinition) -> bool
fn eq(&self, other: &LiteralBlockDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LiteralBlockDefinition
impl Serialize for LiteralBlockDefinition
impl Eq for LiteralBlockDefinition
impl StructuralPartialEq for LiteralBlockDefinition
Auto Trait Implementations§
impl Freeze for LiteralBlockDefinition
impl RefUnwindSafe for LiteralBlockDefinition
impl Send for LiteralBlockDefinition
impl Sync for LiteralBlockDefinition
impl Unpin for LiteralBlockDefinition
impl UnwindSafe for LiteralBlockDefinition
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.