pub struct ParameterUpdate {
pub cortical_idx: u32,
pub cortical_id: String,
pub parameter_name: String,
pub value: Value,
pub dimensions: Option<(u32, u32, u32)>,
pub neurons_per_voxel: Option<u32>,
pub base_threshold: Option<f32>,
}Expand description
A single parameter update command
Fields§
§cortical_idx: u32Cortical area index
cortical_id: StringCortical area ID (for logging)
parameter_name: StringParameter name
value: ValueNew value
dimensions: Option<(u32, u32, u32)>Optional cortical area dimensions (for spatial gradient updates)
neurons_per_voxel: Option<u32>Optional neurons_per_voxel (for spatial gradient updates)
base_threshold: Option<f32>Optional base_threshold (for spatial gradient updates)
Trait Implementations§
Source§impl Clone for ParameterUpdate
impl Clone for ParameterUpdate
Source§fn clone(&self) -> ParameterUpdate
fn clone(&self) -> ParameterUpdate
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 moreAuto Trait Implementations§
impl Freeze for ParameterUpdate
impl RefUnwindSafe for ParameterUpdate
impl Send for ParameterUpdate
impl Sync for ParameterUpdate
impl Unpin for ParameterUpdate
impl UnsafeUnpin for ParameterUpdate
impl UnwindSafe for ParameterUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more