Docs.rs
rust-apt-0.8.0
rust-apt 0.8.0
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
volitank
Dependencies
cxx ^1.0
normal
paste ^1.0
normal
terminal_size ^0.3.0
normal
cxx-build ^1.0
build
Versions
68.26%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rust_
apt
0.8.0
terminal_
width
Sections
Returns:
In rust_
apt::
util
rust_apt
::
util
Function
terminal_width
Copy item path
Source
pub fn terminal_width() ->
usize
Expand description
Get the terminal’s width, i.e. the number of columns it has.
§
Returns:
The terminal width, or
80
if it cannot be determined.