#[repr(C)]pub struct mtp_session_config {
pub n_seq: u32,
pub n_draft_max: i32,
pub n_min: i32,
pub p_min: f32,
}Fields§
§n_seq: u32§n_draft_max: i32§n_min: i32§p_min: f32Trait Implementations§
Source§impl Clone for mtp_session_config
impl Clone for mtp_session_config
Source§fn clone(&self) -> mtp_session_config
fn clone(&self) -> mtp_session_config
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 moreSource§impl Debug for mtp_session_config
impl Debug for mtp_session_config
Source§impl PartialEq for mtp_session_config
impl PartialEq for mtp_session_config
Source§fn eq(&self, other: &mtp_session_config) -> bool
fn eq(&self, other: &mtp_session_config) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for mtp_session_config
impl StructuralPartialEq for mtp_session_config
Auto Trait Implementations§
impl Freeze for mtp_session_config
impl RefUnwindSafe for mtp_session_config
impl Send for mtp_session_config
impl Sync for mtp_session_config
impl Unpin for mtp_session_config
impl UnsafeUnpin for mtp_session_config
impl UnwindSafe for mtp_session_config
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