pub enum FieldType {
Static,
BindRef(String),
Template(Vec<BindPoint>),
}Expand description
The classification of an op template field value.
Variants§
Static
No bind points — value is constant across cycles.
BindRef(String)
Pure binding reference — the entire value is {name}.
Template(Vec<BindPoint>)
String template with interleaved literals and bind points.
Trait Implementations§
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Forget for FieldType
impl Freeze for FieldType
impl Move for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldTypewhere
RawVecInner: Send,
impl Sync for FieldTypewhere
RawVecInner: Sync,
impl Unpin for FieldType
impl UnsafeUnpin for FieldTypewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<BindPoint>: UnsafeUnpin,
impl UnwindSafe for FieldTypewhere
RawVecInner: UnwindSafe,
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