pub struct LfGlobalParams<'a, 'b> {
pub image_header: &'a ImageHeader,
pub frame_header: &'a FrameHeader,
pub tracker: Option<&'b AllocTracker>,
pub allow_partial: bool,
}
Fields§
§image_header: &'a ImageHeader
§frame_header: &'a FrameHeader
§tracker: Option<&'b AllocTracker>
§allow_partial: bool
Implementations§
Source§impl<'a, 'b> LfGlobalParams<'a, 'b>
impl<'a, 'b> LfGlobalParams<'a, 'b>
pub fn new( image_header: &'a ImageHeader, frame_header: &'a FrameHeader, tracker: Option<&'b AllocTracker>, allow_partial: bool, ) -> Self
Trait Implementations§
Source§impl<S: Sample> Bundle<LfGlobalParams<'_, '_>> for GlobalModular<S>
impl<S: Sample> Bundle<LfGlobalParams<'_, '_>> for GlobalModular<S>
Source§impl<'a, 'b> Clone for LfGlobalParams<'a, 'b>
impl<'a, 'b> Clone for LfGlobalParams<'a, 'b>
Source§fn clone(&self) -> LfGlobalParams<'a, 'b>
fn clone(&self) -> LfGlobalParams<'a, 'b>
Returns a copy 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<'a, 'b> Debug for LfGlobalParams<'a, 'b>
impl<'a, 'b> Debug for LfGlobalParams<'a, 'b>
impl<'a, 'b> Copy for LfGlobalParams<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for LfGlobalParams<'a, 'b>
impl<'a, 'b> RefUnwindSafe for LfGlobalParams<'a, 'b>
impl<'a, 'b> Send for LfGlobalParams<'a, 'b>
impl<'a, 'b> Sync for LfGlobalParams<'a, 'b>
impl<'a, 'b> Unpin for LfGlobalParams<'a, 'b>
impl<'a, 'b> UnwindSafe for LfGlobalParams<'a, 'b>
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