Struct websocat::specifier::ConstructParams [−][src]
Fields
global_state: Rc<RefCell<ProgramState>>
program_options: Rc<Options>
left_to_right: L2rUser
Implementations
impl ConstructParams
[src]
All of those methods are about left_to_right mechanism
pub fn reset_l2r(&mut self)
[src]
Reset left_to_right to default value.
pub fn reply(&self) -> Self
[src]
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
[src]
pub fn global<T: Any, F>(&self, def: F) -> RefMut<'_, T> where
F: FnOnce() -> T,
[src]
F: FnOnce() -> T,
Access specified-specific global (singleton) data
Trait Implementations
impl Clone for ConstructParams
[src]
fn clone(&self) -> ConstructParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConstructParams
impl !Send for ConstructParams
impl !Sync for ConstructParams
impl Unpin for ConstructParams
impl !UnwindSafe for ConstructParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]
T: Any + Clone,
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,