pub struct RecordValue<'a> {
pub name: StringInit<'a>,
pub init: TypedInit<'a>,
/* private fields */
}
Expand description
Fields§
§name: StringInit<'a>
§init: TypedInit<'a>
Implementations§
source§impl RecordValue<'_>
impl RecordValue<'_>
sourcepub unsafe fn from_raw(ptr: TableGenRecordValRef) -> Self
pub unsafe fn from_raw(ptr: TableGenRecordValRef) -> Self
Trait Implementations§
source§impl<'a> Clone for RecordValue<'a>
impl<'a> Clone for RecordValue<'a>
source§fn clone(&self) -> RecordValue<'a>
fn clone(&self) -> RecordValue<'a>
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<'a> Debug for RecordValue<'a>
impl<'a> Debug for RecordValue<'a>
source§impl Display for RecordValue<'_>
impl Display for RecordValue<'_>
source§impl<'a> From<RecordValue<'a>> for TypedInit<'a>
impl<'a> From<RecordValue<'a>> for TypedInit<'a>
source§fn from(value: RecordValue<'a>) -> Self
fn from(value: RecordValue<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq for RecordValue<'a>
impl<'a> PartialEq for RecordValue<'a>
source§impl SourceLoc for RecordValue<'_>
impl SourceLoc for RecordValue<'_>
source§fn source_location(self) -> SourceLocation
fn source_location(self) -> SourceLocation
Returns the source location.
source§impl<'a> TryFrom<RecordValue<'a>> for &'a str
impl<'a> TryFrom<RecordValue<'a>> for &'a str
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for DagInit<'a>
impl<'a> TryFrom<RecordValue<'a>> for DagInit<'a>
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for ListInit<'a>
impl<'a> TryFrom<RecordValue<'a>> for ListInit<'a>
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for Record<'a>
impl<'a> TryFrom<RecordValue<'a>> for Record<'a>
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for String
impl<'a> TryFrom<RecordValue<'a>> for String
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for Vec<BitInit<'a>>
impl<'a> TryFrom<RecordValue<'a>> for Vec<BitInit<'a>>
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for Vec<bool>
impl<'a> TryFrom<RecordValue<'a>> for Vec<bool>
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for bool
impl<'a> TryFrom<RecordValue<'a>> for bool
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
source§impl<'a> TryFrom<RecordValue<'a>> for i64
impl<'a> TryFrom<RecordValue<'a>> for i64
source§type Error = SourceError<TableGenError>
type Error = SourceError<TableGenError>
The type returned in the event of a conversion error.
impl<'a> Copy for RecordValue<'a>
impl<'a> Eq for RecordValue<'a>
impl<'a> StructuralPartialEq for RecordValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordValue<'a>
impl<'a> RefUnwindSafe for RecordValue<'a>
impl<'a> !Send for RecordValue<'a>
impl<'a> !Sync for RecordValue<'a>
impl<'a> Unpin for RecordValue<'a>
impl<'a> UnwindSafe for RecordValue<'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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)