Struct websocat::specifier::ConstructParams
source · pub struct ConstructParams {
pub global_state: Rc<RefCell<ProgramState>>,
pub program_options: Rc<Options>,
pub left_to_right: L2rUser,
}
Fields§
§global_state: Rc<RefCell<ProgramState>>
§program_options: Rc<Options>
§left_to_right: L2rUser
Implementations§
source§impl ConstructParams
impl ConstructParams
All of those methods are about left_to_right mechanism
sourcepub fn reply(&self) -> Self
pub fn reply(&self) -> Self
Clones ConstructParams, changing FillIn to ReadFrom in left_to_right field and also disassociating it from the original RefCell.
Panics when called on object with left_to_right set to ReadFrom.
pub fn deep_clone(&self) -> Self
Trait Implementations§
source§impl Clone for ConstructParams
impl Clone for ConstructParams
source§fn clone(&self) -> ConstructParams
fn clone(&self) -> ConstructParams
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 moreAuto Trait Implementations§
impl Freeze for ConstructParams
impl !RefUnwindSafe for ConstructParams
impl !Send for ConstructParams
impl !Sync for ConstructParams
impl Unpin for ConstructParams
impl !UnwindSafe for ConstructParams
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