pub struct Parameter { /* private fields */ }
Implementations§
Source§impl Parameter
impl Parameter
pub fn new( parameter_name: &str, parameter_info: Option<&str>, type_constraint: Box<DataTypeConstraint>, parameter_type: ParameterType, ) -> Self
pub fn is_equals( &self, other: &Self, _interpreter: &mut Interpreter, _pos: CodePosition, ) -> bool
pub fn is_strict_equals( &self, other: &Self, _interpreter: &mut Interpreter, _pos: CodePosition, ) -> bool
pub fn parameter_name(&self) -> &str
pub fn parameter_info(&self) -> Option<&str>
pub fn type_constraint(&self) -> &DataTypeConstraint
pub fn parameter_type(&self) -> ParameterType
Trait Implementations§
Source§impl From<ParameterMetadata> for Parameter
impl From<ParameterMetadata> for Parameter
Source§fn from(value: ParameterMetadata) -> Self
fn from(value: ParameterMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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