pub struct MotionLayout<'a> { /* private fields */ }Implementations§
Source§impl<'a> MotionLayout<'a>
impl<'a> MotionLayout<'a>
pub fn new(layout: &'a BidsLayout) -> Self
pub fn get_motion_files(&self) -> Result<Vec<BidsFile>>
pub fn get_motion_files_for_subject(&self, s: &str) -> Result<Vec<BidsFile>>
pub fn get_motion_files_for_task(&self, t: &str) -> Result<Vec<BidsFile>>
pub fn get_channels(&self, f: &BidsFile) -> Result<Option<Vec<Channel>>>
pub fn get_metadata(&self, f: &BidsFile) -> Result<Option<MotionMetadata>>
pub fn get_motion_subjects(&self) -> Result<Vec<String>>
pub fn get_motion_tasks(&self) -> Result<Vec<String>>
pub fn summary(&self) -> Result<MotionSummary>
Auto Trait Implementations§
impl<'a> Freeze for MotionLayout<'a>
impl<'a> !RefUnwindSafe for MotionLayout<'a>
impl<'a> !Send for MotionLayout<'a>
impl<'a> !Sync for MotionLayout<'a>
impl<'a> Unpin for MotionLayout<'a>
impl<'a> UnsafeUnpin for MotionLayout<'a>
impl<'a> !UnwindSafe for MotionLayout<'a>
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