This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::unstable::intrinsics::{TyDesc, get_tydesc, forget}; | |
use std::util::Void; | |
use std::cast::transmute; | |
/////////////////////////////////////////////////////////////////////////////// | |
// TypeId | |
/////////////////////////////////////////////////////////////////////////////// | |
/// `TypeId` represents a globally unique identifier for a type | |
pub struct TypeId { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import subprocess | |
import os | |
def adbshell(command, serial=None, adbpath='adb'): | |
args = [adbpath] | |
if serial is not None: | |
args.append('-s') | |
args.append(serial) |
NewerOlder