pub struct Expansion<'a, T: 'a + AsRef<[u8]>> { /* private fields */ }
Expand description

Expansion helper struct.

Implementations§

source§

impl<'a, T: AsRef<[u8]>> Expansion<'a, T>

source

pub fn with<'c: 'a>(self, context: &'c mut Context) -> Self

Expand using the given context.

source

pub fn to<W: Write>(self, output: W) -> Result<()>

Expand to the given output.

Examples found in repository?
examples/set_attributes.rs (line 12)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(set_attributes) = info.get::<cap::SetAttributes>() {
		let clear = info.get::<cap::ExitAttributeMode>().unwrap();

		set_attributes.expand().bold(true).underline(true).to(io::stdout()).unwrap();

		println!("bold and underline");

		clear.expand().to(io::stdout()).unwrap();
	} else {
		println!("The terminal does not support mass-setting attributes");
	}
}
More examples
Hide additional examples
examples/simple.rs (line 16)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(cap::MaxColors(n)) = info.get::<cap::MaxColors>() {
		println!("The terminal supports {} colors.", n);
	} else {
		println!("The terminal does not support colors, what year is this?");
	}

	if let Some(flash) = info.get::<cap::FlashScreen>() {
		flash.expand().to(io::stdout()).unwrap();
	} else {
		println!("FLASH GORDON!");
	}

	info.get::<cap::SetAForeground>().unwrap().expand().color(2).to(io::stdout()).unwrap();
	info.get::<cap::SetABackground>().unwrap().expand().color(4).to(io::stdout()).unwrap();
	println!("SUP");
	info.get::<cap::ExitAttributeMode>().unwrap().expand().to(io::stdout()).unwrap();
}
source

pub fn to_vec(self) -> Result<Vec<u8>>

Expand into a vector.

source§

impl<'a> Expansion<'a, BackTab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Bell<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CarriageReturn<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClearAllTabs<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClearScreen<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClrEol<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClrEos<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CommandCharacter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorDown<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorHome<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorInvisible<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorLeft<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorMemAddress<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorNormal<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorRight<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorToLl<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorUp<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorVisible<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DeleteCharacter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DeleteLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DisStatusLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DownHalfLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterAltCharsetMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterBlinkMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterBoldMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterCaMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterDeleteMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterDimMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterInsertMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterSecureMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterProtectedMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterReverseMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterStandoutMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterUnderlineMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitAltCharsetMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitAttributeMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitCaMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitDeleteMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitInsertMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitStandoutMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitUnderlineMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, FlashScreen<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, FormFeed<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, FromStatusLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Init1String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Init2String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Init3String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InitFile<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InsertCharacter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InsertLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InsertPadding<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyBackspace<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCATab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyClear<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCTab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyDc<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyDl<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyDown<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyEic<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyEol<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyEos<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF0<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF10<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF2<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF3<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF4<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF5<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF6<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF7<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF8<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF9<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyHome<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyIc<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyIl<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyLeft<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyLl<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyNPage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyPPage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyRight<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySf<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySr<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySTab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyUp<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeypadLocal<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeypadXmit<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF0<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF10<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF2<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF3<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF4<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF5<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF6<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF7<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF8<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabF9<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MetaOff<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MetaOn<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Newline<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PadChar<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PKeyKey<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PKeyLocal<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PKeyXmit<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PrintScreen<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PrtrOff<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PrtrOn<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, RepeatChar<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Reset1String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Reset2String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Reset3String<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ResetFile<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, RestoreCursor<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SaveCursor<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ScrollForward<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ScrollReverse<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetWindow<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Tab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ToStatusLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, UnderlineChar<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, UpHalfLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InitProg<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyA1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyA3<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyB2<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyC1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyC3<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PrtrNon<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CharPadding<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsChars<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PlabNorm<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyBTab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterXonMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitXonMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterAmMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitAmMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, XonCharacter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, XoffCharacter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnaAcs<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabelOn<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabelOff<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyBeg<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCancel<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyClose<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCommand<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCopy<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyCreate<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyEnd<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyEnter<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyExit<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyFind<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyHelp<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyMark<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyMessage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyMove<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyNext<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyOpen<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyOptions<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyPrevious<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyPrint<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyRedo<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyReference<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyRefresh<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyReplace<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyRestart<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyResume<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySave<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySuspend<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyUndo<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySBeg<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySCancel<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySCommand<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySCopy<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySCreate<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySDc<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySDl<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySelect<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySEnd<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySEol<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySExit<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySFind<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySHelp<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySHome<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySIc<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySLeft<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySMessage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySMove<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySNext<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySOptions<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySPrevious<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySPrint<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySRedo<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySReplace<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySRight<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySRsume<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySSave<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySSuspend<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeySUndo<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ReqForInput<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF11<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF12<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF13<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF14<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF15<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF16<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF17<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF18<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF19<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF20<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF21<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF22<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF23<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF24<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF25<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF26<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF27<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF28<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF29<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF30<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF31<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF32<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF33<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF34<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF35<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF36<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF37<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF38<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF39<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF40<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF41<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF42<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF43<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF44<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF45<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF46<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF47<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF48<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF49<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF50<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF51<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF52<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF53<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF54<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF55<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF56<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF57<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF58<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF59<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF60<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF61<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF62<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyF63<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClrBol<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ClearMargins<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetLeftMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetRightMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LabelFormat<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetClock<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DisplayClock<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, RemoveClock<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CreateWindow<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, GotoWindow<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Hangup<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DialPhone<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, QuickDial<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Tone<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Pulse<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, FlashHook<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, FixedPause<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, WaitTone<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User0<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User2<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User3<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User4<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User5<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User6<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User7<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User8<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, User9<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, OrigPair<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, OrigColors<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InitializeColor<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, InitializePair<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetColorPair<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeCharPitch<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeLinePitch<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeResHorz<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeResVert<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DefineChar<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterDoublewideMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterDraftQuality<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterItalicsMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterLeftwardMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterMicroMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterNearLetterQuality<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterNormalQuality<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterShadowMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterSubscriptMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterSuperscriptMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterUpwardMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitDoublewideMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitItalicsMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitLeftwardMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitMicroMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitShadowMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitSubscriptMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitSuperscriptMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitUpwardMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroColumnAddress<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroDown<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroLeft<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroRight<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroRowAddress<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MicroUp<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, OrderOfPins<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SelectCharSet<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetBottomMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetBottomMarginParm<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetLeftMarginParm<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetRightMarginParm<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTopMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTopMarginParm<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, StartBitImage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, StartCharSetDef<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, StopBitImage<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, StopCharSetDef<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SubscriptCharacters<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SuperscriptCharacters<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, TheseCauseCr<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ZeroMotion<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CharSetNames<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, KeyMouse<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MouseInfo<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ReqMousePos<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, GetMouse<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PkeyPlab<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DeviceType<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CodeSetInit<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Set0DesSeq<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Set1DesSeq<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Set2DesSeq<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, Set3DesSeq<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetLrMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTbMargin<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, BitImageRepeat<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, BitImageNewline<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, BitImageCarriageReturn<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ColorNames<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DefineBitImageRegion<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EndBitImageRegion<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetColorBand<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetPageLength<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, DisplayPcChar<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterPcCharsetMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitPcCharsetMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterScancodeMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ExitScancodeMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, PcTermOptions<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ScancodeEscape<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AltScancodeEsc<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterHorizontalHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterLeftHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterLowHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterRightHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterTopHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EnterVerticalHlMode<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetAAttributes<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetPglenInch<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, TermcapInit2<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, TermcapReset<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, LinefeedIfNotLf<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, BackspaceIfNotBs<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, OtherNonFunctionKeys<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ArrowKeyMap<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsULcorner<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsLLcorner<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsURcorner<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsLRcorner<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsLTee<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsRTee<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsBTee<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsTTee<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsHLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsVLine<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, AcsPlus<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MemoryLock<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, MemoryUnlock<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, BoxChars1<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeScrollRegion<'a>>

source

pub fn parameters(self, top: u32, bottom: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ChangeScrollRegion<'a>>

source

pub fn top(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ChangeScrollRegion<'a>>

source

pub fn bottom(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ColumnAddress<'a>>

source

pub fn parameters(self, x: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ColumnAddress<'a>>

source

pub fn x(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, CursorAddress<'a>>

source

pub fn parameters(self, y: u32, x: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, CursorAddress<'a>>

source

pub fn y(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, CursorAddress<'a>>

source

pub fn x(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, EraseChars<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, EraseChars<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmDch<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmDch<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmDeleteLine<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmDeleteLine<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmDownCursor<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmDownCursor<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmIch<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmIch<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmIndex<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmIndex<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmInsertLine<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmInsertLine<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmLeftCursor<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmLeftCursor<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmRightCursor<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmRightCursor<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmRindex<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmRindex<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmUpCursor<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmUpCursor<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmDownMicro<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmDownMicro<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmLeftMicro<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmLeftMicro<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmRightMicro<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmRightMicro<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ParmUpMicro<'a>>

source

pub fn parameters(self, count: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, ParmUpMicro<'a>>

source

pub fn count(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, RowAddress<'a>>

source

pub fn parameters(self, y: u32) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, RowAddress<'a>>

source

pub fn y(self, value: u32) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn parameters( self, standout: bool, underline: bool, reverse: bool, blink: bool, dim: bool, bold: bool, invisible: bool, protected: bool, alt_charset: bool ) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn standout<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn underline<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

Examples found in repository?
examples/set_attributes.rs (line 12)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(set_attributes) = info.get::<cap::SetAttributes>() {
		let clear = info.get::<cap::ExitAttributeMode>().unwrap();

		set_attributes.expand().bold(true).underline(true).to(io::stdout()).unwrap();

		println!("bold and underline");

		clear.expand().to(io::stdout()).unwrap();
	} else {
		println!("The terminal does not support mass-setting attributes");
	}
}
source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn reverse<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn dim<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn bold<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

Examples found in repository?
examples/set_attributes.rs (line 12)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(set_attributes) = info.get::<cap::SetAttributes>() {
		let clear = info.get::<cap::ExitAttributeMode>().unwrap();

		set_attributes.expand().bold(true).underline(true).to(io::stdout()).unwrap();

		println!("bold and underline");

		clear.expand().to(io::stdout()).unwrap();
	} else {
		println!("The terminal does not support mass-setting attributes");
	}
}
source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn invisible<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn protected<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAttributes<'a>>

source

pub fn alt_charset<T: Into<bool>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetAForeground<'a>>

source

pub fn parameters(self, color: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetAForeground<'a>>

source

pub fn color(self, value: u8) -> Self

Set the given parameter.

Examples found in repository?
examples/simple.rs (line 21)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(cap::MaxColors(n)) = info.get::<cap::MaxColors>() {
		println!("The terminal supports {} colors.", n);
	} else {
		println!("The terminal does not support colors, what year is this?");
	}

	if let Some(flash) = info.get::<cap::FlashScreen>() {
		flash.expand().to(io::stdout()).unwrap();
	} else {
		println!("FLASH GORDON!");
	}

	info.get::<cap::SetAForeground>().unwrap().expand().color(2).to(io::stdout()).unwrap();
	info.get::<cap::SetABackground>().unwrap().expand().color(4).to(io::stdout()).unwrap();
	println!("SUP");
	info.get::<cap::ExitAttributeMode>().unwrap().expand().to(io::stdout()).unwrap();
}
source§

impl<'a> Expansion<'a, SetABackground<'a>>

source

pub fn parameters(self, color: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetABackground<'a>>

source

pub fn color(self, value: u8) -> Self

Set the given parameter.

Examples found in repository?
examples/simple.rs (line 22)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fn main() {
	let info = Database::from_env().unwrap();

	if let Some(cap::MaxColors(n)) = info.get::<cap::MaxColors>() {
		println!("The terminal supports {} colors.", n);
	} else {
		println!("The terminal does not support colors, what year is this?");
	}

	if let Some(flash) = info.get::<cap::FlashScreen>() {
		flash.expand().to(io::stdout()).unwrap();
	} else {
		println!("FLASH GORDON!");
	}

	info.get::<cap::SetAForeground>().unwrap().expand().color(2).to(io::stdout()).unwrap();
	info.get::<cap::SetABackground>().unwrap().expand().color(4).to(io::stdout()).unwrap();
	println!("SUP");
	info.get::<cap::ExitAttributeMode>().unwrap().expand().to(io::stdout()).unwrap();
}
source§

impl<'a> Expansion<'a, SetForeground<'a>>

source

pub fn parameters(self, color: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetForeground<'a>>

source

pub fn color(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetBackground<'a>>

source

pub fn parameters(self, color: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetBackground<'a>>

source

pub fn color(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetClipboard<'a>>

source

pub fn parameters(self, selection: String, content: Vec<u8>) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetClipboard<'a>>

source

pub fn selection<T: Into<String>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetClipboard<'a>>

source

pub fn content<T: Into<Vec<u8>>>(self, value: T) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetCursorStyle<'a>>

source

pub fn parameters(self, kind: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetCursorStyle<'a>>

source

pub fn kind(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ResetCursorStyle<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTrueColorForeground<'a>>

source

pub fn parameters(self, r: u8, g: u8, b: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTrueColorForeground<'a>>

source

pub fn r(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetTrueColorForeground<'a>>

source

pub fn g(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetTrueColorForeground<'a>>

source

pub fn b(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetTrueColorBackground<'a>>

source

pub fn parameters(self, r: u8, g: u8, b: u8) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetTrueColorBackground<'a>>

source

pub fn r(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetTrueColorBackground<'a>>

source

pub fn g(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, SetTrueColorBackground<'a>>

source

pub fn b(self, value: u8) -> Self

Set the given parameter.

source§

impl<'a> Expansion<'a, ResetCursorColor<'a>>

source

pub fn parameters(self) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetCursorColor<'a>>

source

pub fn parameters(self, color: String) -> Self

Pass all expansion parameters at once.

source§

impl<'a> Expansion<'a, SetCursorColor<'a>>

source

pub fn color<T: Into<String>>(self, value: T) -> Self

Set the given parameter.

Trait Implementations§

source§

impl<'a, T: Debug + 'a + AsRef<[u8]>> Debug for Expansion<'a, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a, T> RefUnwindSafe for Expansion<'a, T>where T: RefUnwindSafe,

§

impl<'a, T> Send for Expansion<'a, T>where T: Sync,

§

impl<'a, T> Sync for Expansion<'a, T>where T: Sync,

§

impl<'a, T> Unpin for Expansion<'a, T>

§

impl<'a, T> !UnwindSafe for Expansion<'a, T>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.