pub struct Node {
pub level: String,
pub entities: StringEntities,
pub variables: Vec<SimpleVariable>,
}Expand description
A non-run node in the BIDS hierarchy (dataset, subject, or session level).
Holds simple variables (e.g., participant demographics, session metadata) at a specific level of the BIDS hierarchy.
Fields§
§level: String§entities: StringEntities§variables: Vec<SimpleVariable>Implementations§
Source§impl Node
impl Node
pub fn new(level: &str, entities: StringEntities) -> Self
pub fn add_variable(&mut self, var: SimpleVariable)
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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