pub struct BinXmlTemplateValues<'a> {
pub template_id: u32,
pub template_def_offset: ChunkOffset,
pub template_guid: Option<Guid>,
pub values: Vec<BinXmlValue<'a>>,
}Expand description
Template instance payload parsed into substitution values.
This avoids allocating legacy token wrappers for every substitution. The values are parsed directly and consumed by the IR builder.
Fields§
§template_id: u32§template_def_offset: ChunkOffset§template_guid: Option<Guid>§values: Vec<BinXmlValue<'a>>Trait Implementations§
Source§impl<'a> Clone for BinXmlTemplateValues<'a>
impl<'a> Clone for BinXmlTemplateValues<'a>
Source§fn clone(&self) -> BinXmlTemplateValues<'a>
fn clone(&self) -> BinXmlTemplateValues<'a>
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<'a> Debug for BinXmlTemplateValues<'a>
impl<'a> Debug for BinXmlTemplateValues<'a>
Source§impl<'a> PartialEq for BinXmlTemplateValues<'a>
impl<'a> PartialEq for BinXmlTemplateValues<'a>
Source§impl<'a> PartialOrd for BinXmlTemplateValues<'a>
impl<'a> PartialOrd for BinXmlTemplateValues<'a>
impl<'a> StructuralPartialEq for BinXmlTemplateValues<'a>
Auto Trait Implementations§
impl<'a> Freeze for BinXmlTemplateValues<'a>
impl<'a> RefUnwindSafe for BinXmlTemplateValues<'a>
impl<'a> Send for BinXmlTemplateValues<'a>
impl<'a> Sync for BinXmlTemplateValues<'a>
impl<'a> Unpin for BinXmlTemplateValues<'a>
impl<'a> UnwindSafe for BinXmlTemplateValues<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more