This repository has been archived on 2025-03-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AIT/src/model/mod.rs

16 lines
286 B
Rust
Raw Normal View History

2024-07-19 23:32:09 +04:00
pub mod builder_traits;
pub mod models;
use crate::gtk::glib;
use glib::Object;
glib::wrapper! {
pub struct ResultValue(ObjectSubclass<models::ResultValue>);
}
impl ResultValue {
pub fn new(val: f64) -> Self {
Object::builder().property("value", val).build()
}
}