pub struct GroupObjectFlags {
pub communication: bool,
pub read: bool,
pub write: bool,
pub transmit: bool,
pub update: bool,
}Expand description
Group object communication flags.
Fields§
§communication: boolCommunication enabled.
read: boolRead enabled.
write: boolWrite enabled.
transmit: boolTransmit on change.
update: boolUpdate on receive.
Implementations§
Source§impl GroupObjectFlags
impl GroupObjectFlags
Sourcepub fn read_write() -> Self
pub fn read_write() -> Self
Full read-write access.
Sourcepub fn write_only() -> Self
pub fn write_only() -> Self
Write-only access.
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Check if any communication is enabled.
Trait Implementations§
Source§impl Clone for GroupObjectFlags
impl Clone for GroupObjectFlags
Source§fn clone(&self) -> GroupObjectFlags
fn clone(&self) -> GroupObjectFlags
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 GroupObjectFlags
impl Debug for GroupObjectFlags
Source§impl Default for GroupObjectFlags
impl Default for GroupObjectFlags
Source§fn default() -> GroupObjectFlags
fn default() -> GroupObjectFlags
Returns the “default value” for a type. Read more
impl Copy for GroupObjectFlags
Auto Trait Implementations§
impl Freeze for GroupObjectFlags
impl RefUnwindSafe for GroupObjectFlags
impl Send for GroupObjectFlags
impl Sync for GroupObjectFlags
impl Unpin for GroupObjectFlags
impl UnsafeUnpin for GroupObjectFlags
impl UnwindSafe for GroupObjectFlags
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