pub struct ChannelGroupRef { /* private fields */ }
Methods from Deref<Target = ChannelGroup>§
pub fn is_master(&self) -> Result<bool, Error>
pub fn raw(&self) -> *mut FMOD_CHANNELGROUP
pub fn channel_group_ref(&self) -> ChannelGroupRef
Sourcepub fn get_channel(&self, index: i32) -> Result<Channel, Error>
pub fn get_channel(&self, index: i32) -> Result<Channel, Error>
Retrieves the specified channel from the channel group for the index from
0 to the number of channels returned by channel_group.get_num_channels()
Sourcepub fn get_group(&self, index: i32) -> Result<ChannelGroupRef, Error>
pub fn get_group(&self, index: i32) -> Result<ChannelGroupRef, Error>
Retrieves a handle to a specified sub channel group
pub fn get_name(&self) -> Result<String, Error>
pub fn get_num_channels(&self) -> Result<i32, Error>
pub fn get_num_groups(&self) -> Result<i32, Error>
Sourcepub fn get_parent_group(&self) -> Result<Option<ChannelGroupRef>, Error>
pub fn get_parent_group(&self) -> Result<Option<ChannelGroupRef>, Error>
Retrieves a handle to the channel group parent.
Returns None
if this is the master channel group.
Trait Implementations§
Source§impl Clone for ChannelGroupRef
impl Clone for ChannelGroupRef
Source§fn clone(&self) -> ChannelGroupRef
fn clone(&self) -> ChannelGroupRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelGroupRef
impl Debug for ChannelGroupRef
Source§impl Deref for ChannelGroupRef
impl Deref for ChannelGroupRef
Source§type Target = ChannelGroup
type Target = ChannelGroup
The resulting type after dereferencing.
Source§fn deref(&self) -> &ChannelGroup
fn deref(&self) -> &ChannelGroup
Dereferences the value.
Source§impl DerefMut for ChannelGroupRef
impl DerefMut for ChannelGroupRef
Source§fn deref_mut(&mut self) -> &mut ChannelGroup
fn deref_mut(&mut self) -> &mut ChannelGroup
Mutably dereferences the value.
Source§impl PartialEq for ChannelGroupRef
impl PartialEq for ChannelGroupRef
impl StructuralPartialEq for ChannelGroupRef
Auto Trait Implementations§
impl Freeze for ChannelGroupRef
impl RefUnwindSafe for ChannelGroupRef
impl !Send for ChannelGroupRef
impl !Sync for ChannelGroupRef
impl Unpin for ChannelGroupRef
impl UnwindSafe for ChannelGroupRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more