mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-26 14:00:14 +00:00
19 lines
476 B
Rust
19 lines
476 B
Rust
// Take a look at the license at the top of the repository in the LICENSE file.
|
|
|
|
use crate::ColorBalanceChannel;
|
|
use glib::prelude::*;
|
|
use glib::translate::*;
|
|
|
|
impl ColorBalanceChannel {
|
|
pub fn label(&self) -> glib::GString {
|
|
unsafe { from_glib_none((*self.as_ptr()).label) }
|
|
}
|
|
|
|
pub fn min_value(&self) -> i32 {
|
|
unsafe { (*self.as_ptr()).min_value }
|
|
}
|
|
|
|
pub fn max_value(&self) -> i32 {
|
|
unsafe { (*self.as_ptr()).max_value }
|
|
}
|
|
}
|