pub struct FanOutLimits {
pub module: usize,
pub function: usize,
pub method: usize,
pub class: usize,
}Expand description
Per-kind inbound reference limits. A module can be widely imported; a function less so.
Fields§
§module: usize§function: usize§method: usize§class: usizeTrait Implementations§
Source§impl Clone for FanOutLimits
impl Clone for FanOutLimits
Source§fn clone(&self) -> FanOutLimits
fn clone(&self) -> FanOutLimits
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 FanOutLimits
impl Debug for FanOutLimits
Source§impl Default for FanOutLimits
impl Default for FanOutLimits
Source§impl<'de> Deserialize<'de> for FanOutLimitswhere
FanOutLimits: Default,
impl<'de> Deserialize<'de> for FanOutLimitswhere
FanOutLimits: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FanOutLimits
impl RefUnwindSafe for FanOutLimits
impl Send for FanOutLimits
impl Sync for FanOutLimits
impl Unpin for FanOutLimits
impl UnsafeUnpin for FanOutLimits
impl UnwindSafe for FanOutLimits
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