pub struct MakeSnapshotBuilder { /* private fields */ }Expand description
Builder for MakeSnapshot.
Implementations§
Source§impl MakeSnapshotBuilder
impl MakeSnapshotBuilder
Sourcepub fn layer_id<VALUE: Into<LayerId>>(&mut self, value: VALUE) -> &mut Self
pub fn layer_id<VALUE: Into<LayerId>>(&mut self, value: VALUE) -> &mut Self
The id of the layer.
Sourcepub fn build(&self) -> Result<MakeSnapshot, MakeSnapshotBuilderError>
pub fn build(&self) -> Result<MakeSnapshot, MakeSnapshotBuilderError>
Trait Implementations§
Source§impl Clone for MakeSnapshotBuilder
impl Clone for MakeSnapshotBuilder
Source§fn clone(&self) -> MakeSnapshotBuilder
fn clone(&self) -> MakeSnapshotBuilder
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 moreAuto Trait Implementations§
impl Freeze for MakeSnapshotBuilder
impl RefUnwindSafe for MakeSnapshotBuilder
impl Send for MakeSnapshotBuilder
impl Sync for MakeSnapshotBuilder
impl Unpin for MakeSnapshotBuilder
impl UnsafeUnpin for MakeSnapshotBuilder
impl UnwindSafe for MakeSnapshotBuilder
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