synthizer/
source.rs

1use crate::internal_prelude::*;
2
3/// Represents the source "base class".  It is possible to convert to this type
4/// from any source, in order to use source-common functionality.
5#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)]
6pub struct Source(pub(crate) Handle);
7
8impl Source {
9    source_properties!();
10
11    object_common!();
12    pausable_common!();
13    source_common!();
14}
15
16handle_traits!(Source);