clutter/auto/alpha.rs
1use glib::{object as gobject, translate::*};
2use std::fmt;
3// use crate::Scriptable;
4
5// TODO: , @implements Scriptable
6glib_wrapper! {
7 pub struct Alpha(Object<ffi::ClutterAlpha, ffi::ClutterAlphaClass, AlphaClass>) @extends gobject::InitiallyUnowned;
8
9 match fn {
10 get_type => || ffi::clutter_alpha_get_type(),
11 }
12}
13
14impl Alpha {}
15
16pub const NONE_ALPHA: Option<&Alpha> = None;
17
18impl fmt::Display for Alpha {
19 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
20 write!(f, "Alpha")
21 }
22}