pub struct VariableInfo {
pub id: VariableId,
pub cardinality: Cardinality,
pub value_type: ValueType,
}Expand description
A variable in scope.
Fields§
§id: VariableIdIts identity at evaluation.
cardinality: CardinalityWhat is known of its value. It only affects the evaluation strategy (which side of a general comparison is read first), never the result.
value_type: ValueTypeThe static type Saxon-HE 12.10 gives its references, which decides some casts and
arithmetic (ValueType::unknown when nothing is known).
Trait Implementations§
Source§impl Clone for VariableInfo
impl Clone for VariableInfo
Auto Trait Implementations§
impl Forget for VariableInfo
impl Freeze for VariableInfo
impl RefUnwindSafe for VariableInfo
impl Send for VariableInfo
impl Sync for VariableInfo
impl Unpin for VariableInfo
impl UnsafeUnpin for VariableInfo
impl UnwindSafe for VariableInfo
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