Another project
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 527 B View raw
1use bone_types::Parameter; 2use serde::{Deserialize, Serialize}; 3 4#[derive(Copy, Clone, Debug, PartialEq, Serialize, Deserialize)] 5#[serde(deny_unknown_fields)] 6pub struct SketchParameter { 7 value: Parameter, 8} 9 10impl SketchParameter { 11 #[must_use] 12 pub const fn new(value: Parameter) -> Self { 13 Self { value } 14 } 15 16 #[must_use] 17 pub const fn value(self) -> Parameter { 18 self.value 19 } 20 21 #[must_use] 22 pub const fn with_value(self, value: Parameter) -> Self { 23 Self { value } 24 } 25}