pub struct ContrastInfo {
pub name: String,
pub conditions: Vec<String>,
pub weights: Vec<f64>,
pub test: Option<String>,
pub entities: StringEntities,
}Expand description
Information about a statistical contrast.
Defines a linear combination of model terms to be tested. Contains the contrast name, the list of conditions involved, their weights, the statistical test type (t, F), and the BIDS entities identifying the data this contrast applies to.
Fields§
§name: String§conditions: Vec<String>§weights: Vec<f64>§test: Option<String>§entities: StringEntitiesTrait Implementations§
Source§impl Clone for ContrastInfo
impl Clone for ContrastInfo
Source§fn clone(&self) -> ContrastInfo
fn clone(&self) -> ContrastInfo
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 ContrastInfo
impl Debug for ContrastInfo
Source§impl<'de> Deserialize<'de> for ContrastInfo
impl<'de> Deserialize<'de> for ContrastInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContrastInfo
impl RefUnwindSafe for ContrastInfo
impl Send for ContrastInfo
impl Sync for ContrastInfo
impl Unpin for ContrastInfo
impl UnsafeUnpin for ContrastInfo
impl UnwindSafe for ContrastInfo
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