pub struct Undeclared<V> {
pub val: V,
pub ty: GroupIdx,
}
Fields§
§val: V
§ty: GroupIdx
Implementations§
Source§impl Undeclared<Value>
impl Undeclared<Value>
pub fn literal_branches(var: &Literal) -> Vec<BranchesBuilder>
Trait Implementations§
Source§impl<V: Clone> Clone for Undeclared<V>
impl<V: Clone> Clone for Undeclared<V>
Source§fn clone(&self) -> Undeclared<V>
fn clone(&self) -> Undeclared<V>
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<V: Debug> Debug for Undeclared<V>
impl<V: Debug> Debug for Undeclared<V>
Source§impl<'de, V> Deserialize<'de> for Undeclared<V>where
V: Deserialize<'de>,
impl<'de, V> Deserialize<'de> for Undeclared<V>where
V: Deserialize<'de>,
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 IRValue for Undeclared<Value>
impl IRValue for Undeclared<Value>
type AssignValue = Undeclared<AssignValue>
type VarDefineType = GroupIdx
type FnDefineType = TypeDefine
type ParameterType = TypeDefine
Source§impl IntoIR for Undeclared<AssignValue>
impl IntoIR for Undeclared<AssignValue>
type Forward = AssignValue
fn into_ir(self, map: &DeclareGraph) -> Self::Forward
Source§impl IntoIR for Undeclared<Value>
impl IntoIR for Undeclared<Value>
Auto Trait Implementations§
impl<V> Freeze for Undeclared<V>where
V: Freeze,
impl<V> RefUnwindSafe for Undeclared<V>where
V: RefUnwindSafe,
impl<V> Send for Undeclared<V>where
V: Send,
impl<V> Sync for Undeclared<V>where
V: Sync,
impl<V> Unpin for Undeclared<V>where
V: Unpin,
impl<V> UnwindSafe for Undeclared<V>where
V: 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