pub struct MatlabStructField {
pub name: String,
pub value: MatlabExpr,
}Expand description
A MATLAB struct field value.
Fields§
§name: StringField name.
value: MatlabExprField value.
Implementations§
Source§impl MatlabStructField
impl MatlabStructField
Sourcepub fn new(name: impl Into<String>, value: MatlabExpr) -> Self
pub fn new(name: impl Into<String>, value: MatlabExpr) -> Self
Create a new struct field.
Trait Implementations§
Source§impl Clone for MatlabStructField
impl Clone for MatlabStructField
Source§fn clone(&self) -> MatlabStructField
fn clone(&self) -> MatlabStructField
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 Debug for MatlabStructField
impl Debug for MatlabStructField
Source§impl PartialEq for MatlabStructField
impl PartialEq for MatlabStructField
impl StructuralPartialEq for MatlabStructField
Auto Trait Implementations§
impl Freeze for MatlabStructField
impl RefUnwindSafe for MatlabStructField
impl Send for MatlabStructField
impl Sync for MatlabStructField
impl Unpin for MatlabStructField
impl UnsafeUnpin for MatlabStructField
impl UnwindSafe for MatlabStructField
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