#[repr(C)]pub struct SubGhzProtocol {
pub name: *const c_char,
pub type_: SubGhzProtocolType,
pub flag: SubGhzProtocolFlag,
pub encoder: *const SubGhzProtocolEncoder,
pub decoder: *const SubGhzProtocolDecoder,
}Fields§
§name: *const c_char§type_: SubGhzProtocolType§flag: SubGhzProtocolFlag§encoder: *const SubGhzProtocolEncoder§decoder: *const SubGhzProtocolDecoderTrait Implementations§
Source§impl Clone for SubGhzProtocol
impl Clone for SubGhzProtocol
Source§fn clone(&self) -> SubGhzProtocol
fn clone(&self) -> SubGhzProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubGhzProtocol
Auto Trait Implementations§
impl !Send for SubGhzProtocol
impl !Sync for SubGhzProtocol
impl Freeze for SubGhzProtocol
impl RefUnwindSafe for SubGhzProtocol
impl Unpin for SubGhzProtocol
impl UnsafeUnpin for SubGhzProtocol
impl UnwindSafe for SubGhzProtocol
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