clutter/auto/score.rs
1use glib::translate::*;
2use std::fmt;
3
4glib_wrapper! {
5 pub struct Score(Object<ffi::ClutterScore, ffi::ClutterScoreClass, ScoreClass>);
6
7 match fn {
8 get_type => || ffi::clutter_score_get_type(),
9 }
10}
11
12impl Score {}
13
14pub const NONE_SCORE: Option<&Score> = None;
15
16impl fmt::Display for Score {
17 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
18 write!(f, "Score")
19 }
20}